From: Dan Carpenter Date: Sun, 1 Feb 2015 20:54:25 +0000 (+0300) Subject: isdn: off by one in connect_res() X-Git-Tag: fixes-v4.0-rc1~200^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c101cff9010083a8796353a75673fd100b077b79;p=pandora-kernel.git isdn: off by one in connect_res() The bug here is that we use "Reject" as the index into the cau_t[] array in the else path. Since the cau_t[] has 9 elements if Reject == 9 then we are reading beyond the end of the array. My understanding of the code is that it's saying that if Reject is 1 or too high then that's invalid and we should hang up. Signed-off-by: Dan Carpenter Signed-off-by: David S. Miller --- Reading git-diff-tree failed