From: Dan Carpenter Date: Fri, 12 Jul 2013 06:39:03 +0000 (+0300) Subject: svcrdma: underflow issue in decode_write_list() X-Git-Tag: v3.11-rc2~22^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2781e1021525649c0b33fffd005ef219da33926;p=pandora-kernel.git 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 Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed