From: Alan Stern Date: Fri, 18 Jun 2010 14:16:33 +0000 (-0400) Subject: USB: fix oops in usb_sg_init() X-Git-Tag: v2.6.35-rc4~18^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64d65872f96e2a754caa12ef48949c314384bd9f;p=pandora-kernel.git USB: fix oops in usb_sg_init() This patch (as1401) fixes a bug in usb_sg_init() that can cause an invalid pointer dereference. An inner loop reuses some local variables in an unsafe manner, so new variables are introduced. Signed-off-by: Alan Stern Tested-by: Ajay Kumar Gupta Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed