diff options
author | Alan Stern <[email protected]> | 2008-02-20 14:15:58 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2008-02-21 15:38:55 -0800 |
commit | 7084191d53b224b953c8e1db525ea6c31aca5fc7 (patch) | |
tree | 6cb1288a50aa1977c48e9e32d7d61cf2204ac350 /net/unix/sysctl_net_unix.c | |
parent | 274399d14f121d7676ecb75a461cfed6cf9e4cdb (diff) |
USB: usb-storage: don't access beyond the end of the sg buffer
This patch (as1035) fixes a bug in usb_stor_access_xfer_buf() (the bug
was originally found by Boaz Harrosh): The routine must not attempt to
write beyond the end of a scatter-gather list or beyond the number of
bytes requested. It also fixes up the formatting of a few comments
and similar whitespace issues.
Signed-off-by: Alan Stern <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions