Files
linux/drivers/usb/core
Dan Carpenter fa1ed74eb1 USB: devio: Don't corrupt user memory
The user buffer has "uurb->buffer_length" bytes.  If the kernel has more
information than that, we should truncate it instead of writing past
the end of the user's buffer.  I added a WARN_ONCE() to help the user
debug the issue.

Reported-by: Alan Stern <[email protected]>
Cc: stable <[email protected]>
Signed-off-by: Dan Carpenter <[email protected]>
Acked-by: Alan Stern <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2017-09-25 10:57:13 +02:00
..
2017-09-25 10:57:13 +02:00
2017-08-14 14:50:58 -07:00
2017-04-11 14:41:29 -06:00
2017-05-17 11:27:41 +02:00