diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2013-03-01 06:14:19 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-03-15 19:45:16 +0100 |
commit | bba90aedb00906a2f0d34325610729a1ee016f43 (patch) | |
tree | 825d4e5fd91842776212a7a9975c0ef9c1886a7e /fs/nfs/cache_lib.h | |
parent | USB: remove incorrect __exit markups (diff) | |
download | linux-bba90aedb00906a2f0d34325610729a1ee016f43.tar.xz linux-bba90aedb00906a2f0d34325610729a1ee016f43.zip |
usb: storage: onetouch: tighten a range check
Smatch complains because we only allocate ONETOUCH_PKT_LEN (2) bytes
but later when we call usb_fill_int_urb() we assume maxp can be up
to 8 bytes. I talked to the maintainer and maxp should be capped at
ONETOUCH_PKT_LEN.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/nfs/cache_lib.h')
0 files changed, 0 insertions, 0 deletions