usb: usbmon: Read text within supplied buffer size
This change fixes buffer overflows and silent data corruption with the usbmon device driver text file read operations. Signed-off-by: NFredrik Noring <noring@nocrew.org> Signed-off-by: NPete Zaitcev <zaitcev@redhat.com> Cc: stable <stable@vger.kernel.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
想要评论请 注册 或 登录