summaryrefslogtreecommitdiffstats
path: root/security/smack
diff options
context:
space:
mode:
authorAndrey Shvetsov <andrey.shvetsov@k2l.de>2017-04-07 15:38:39 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-04-08 12:41:40 +0200
commit5c13155d190464fade0344e16b6341f18af25f1f (patch)
tree11433e65b1b9331132922322b70421f9ecaeb6b1 /security/smack
parentf500192890c7c6745a92b677f5f69e58a2d60715 (diff)
downloadblackbird-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
OpenPOWER on IntegriCloud