diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2013-07-12 09:39:03 +0300 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2013-07-15 11:46:23 -0400 |
commit | b2781e1021525649c0b33fffd005ef219da33926 (patch) | |
tree | 8169f00611f6e56b1201d56fbbcd9e4020859231 /net/nfc/netlink.c | |
parent | 35f7a14fc1180164d6358a5885031fc187ef1bfa (diff) |
svcrdma: underflow issue in decode_write_list()
My static checker marks everything from ntohl() as untrusted and it
complains we could have an underflow problem doing:
return (u32 *)&ary->wc_array[nchunks];
Also on 32 bit systems the upper bound check could overflow.
Cc: stable@vger.kernel.org
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net/nfc/netlink.c')
0 files changed, 0 insertions, 0 deletions