From: Dan Carpenter Date: Wed, 29 Feb 2012 06:37:53 +0000 (+0300) Subject: rndis_wlan: prevent integer overflow in indication() X-Git-Tag: v3.4-rc1~177^2~108^2~176 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4e02da2ef01deb36aa80fce6ee0bc3e9725ffe8;p=pandora-kernel.git rndis_wlan: prevent integer overflow in indication() If we pick a high value for "offset" then it could lead to an integer overflow and we would get past the check for: if (offset + len > buflen) { ... Signed-off-by: Dan Carpenter Acked-by: Jussi Kivilinna Signed-off-by: John W. Linville --- Reading git-diff-tree failed