diff options
author | Johan Hovold <johan@kernel.org> | 2019-10-22 16:32:03 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-10-28 17:46:23 +0100 |
commit | 88f6bf3846ee90bf33aa1ce848cd3bfb3229f4a4 (patch) | |
tree | 1d5f5841dab019a4e471c361bec4b5632b04b91a /drivers/spi/atmel-quadspi.c | |
parent | d98ee2a19c3334e9343df3ce254b496f1fc428eb (diff) |
USB: ldusb: use unsigned size format specifiers
A recent info-leak bug manifested itself along with warning about a
negative buffer overflow:
ldusb 1-1:0.28: Read buffer overflow, -131383859965943 bytes dropped
when it was really a rather large positive one.
A sanity check that prevents this has now been put in place, but let's
fix up the size format specifiers, which should all be unsigned.
Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://lore.kernel.org/r/20191022143203.5260-3-johan@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/spi/atmel-quadspi.c')
0 files changed, 0 insertions, 0 deletions