diff options
author | 2010-06-18 10:16:33 -0400 | |
---|---|---|
committer | 2010-06-30 08:16:06 -0700 | |
commit | 64d65872f96e2a754caa12ef48949c314384bd9f (patch) | |
tree | 1fbd174ef9b2df672a68f81c960599c39b238286 /include/linux/types.h | |
parent | USB: s3c2410: deactivate endpoints before gadget unbinding (diff) | |
download | linux-rng-64d65872f96e2a754caa12ef48949c314384bd9f.tar.xz linux-rng-64d65872f96e2a754caa12ef48949c314384bd9f.zip |
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 <stern@rowland.harvard.edu>
Tested-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/types.h')
0 files changed, 0 insertions, 0 deletions