diff options
author | Petko Manolov <petkan@mip-labs.com> | 2016-04-27 14:24:49 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-04-28 17:05:24 -0400 |
commit | b7302ca05871e50208bc328cbc8199a21f5d876e (patch) | |
tree | c4b16a2f810dfd19988d1fc33d6f86ecfa331f25 /fs/sysv | |
parent | 6c76f3d2922115f4e1327a2dcce47e94453e3375 (diff) |
pegasus: fixes URB buffer allocation size;
usb_fill_bulk_urb() receives buffer length parameter 8 bytes larger
than what's allocated by alloc_skb(); This seems to be a problem with
older (pegasus usb-1.1) devices, which may silently return more data
than the maximal packet length.
Reported-by: Lincoln Ramsay <a1291762@gmail.com>
Signed-off-by: Petko Manolov <petkan@mip-labs.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/sysv')
0 files changed, 0 insertions, 0 deletions