commit | b2781e1021525649c0b33fffd005ef219da33926 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Fri Jul 12 09:39:03 2013 +0300 |
committer | J. Bruce Fields <bfields@redhat.com> | Mon Jul 15 11:46:23 2013 -0400 |
tree | 8169f00611f6e56b1201d56fbbcd9e4020859231 | |
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>