diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2013-07-12 09:39:03 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-04 16:50:57 +0800 |
commit | a4208aa227113be2e0ea81613c4f15d3bc2fc768 (patch) | |
tree | 9d98b27bdf13260e7d7a153269b1e1fb61e79023 /tools/lib | |
parent | 2794edb180b726d9d8aedcc6c7034e2d877489fc (diff) |
svcrdma: underflow issue in decode_write_list()
commit b2781e1021525649c0b33fffd005ef219da33926 upstream.
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.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/lib')
0 files changed, 0 insertions, 0 deletions