commit | a37d70eb655fdcbcd93b053d11b569cc7b1787eb | [log] [tgz] |
---|---|---|
author | Mark Asselstine <asselsm@gmail.com> | Wed Feb 12 21:47:56 2014 -0500 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Feb 14 09:32:40 2014 -0800 |
tree | 8bb4e67365bbd88e23442625458e3652770a7f65 | |
parent | ab09248c998dd9df4f35912827d95d70b499bd30 [diff] |
staging: usbip: prevent possible buffer overflow reading port records To avoid buffer overflow while reading a corrupted or possibly modified port file we validate the length of each part of the port record to ensure it doesn't exceed the length of the destination buffer. https://bugzilla.kernel.org/show_bug.cgi?id=69931 Signed-off-by: Mark Asselstine <asselsm@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>