Commit b8021dfb authored by Pete Zaitcev's avatar Pete Zaitcev Committed by Ben Hutchings
Browse files

usb: usbmon: Read text within supplied buffer size



commit a5f59683 upstream.

This change fixes buffer overflows and silent data corruption with the
usbmon device driver text file read operations.

Signed-off-by: default avatarFredrik Noring <noring@nocrew.org>
Signed-off-by: default avatarPete Zaitcev <zaitcev@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
parent 2326c561
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment