diff options
author | Andrey Shvetsov <andrey.shvetsov@k2l.de> | 2017-04-07 15:38:39 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-04-08 12:41:40 +0200 |
commit | 5c13155d190464fade0344e16b6341f18af25f1f (patch) | |
tree | 11433e65b1b9331132922322b70421f9ecaeb6b1 /security/smack | |
parent | f500192890c7c6745a92b677f5f69e58a2d60715 (diff) | |
download | blackbird-op-linux-5c13155d190464fade0344e16b6341f18af25f1f.tar.gz blackbird-op-linux-5c13155d190464fade0344e16b6341f18af25f1f.zip |
staging: most: usb: fix size overflow
Despite the user payload may not be bigger than (2**16 - 1) bytes, the
final packet size may be bigger because of the gap space needed for the
controller.
This patch removes the temporary variables of the type u16 that are used
to hold the offsets that may be bigger than 2**16 bytes.
Signed-off-by: Andrey Shvetsov <andrey.shvetsov@k2l.de>
Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'security/smack')
0 files changed, 0 insertions, 0 deletions