Skip to content
Commit b7302ca0 authored by Petko Manolov's avatar Petko Manolov Committed by David S. Miller
Browse files

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: default avatarLincoln Ramsay <a1291762@gmail.com>
Signed-off-by: default avatarPetko Manolov <petkan@mip-labs.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6c76f3d2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment