aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netback/interface.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2015-02-01 20:54:25 +0000
committerDavid S. Miller <[email protected]>2015-02-03 03:33:18 +0000
commitc101cff9010083a8796353a75673fd100b077b79 (patch)
tree34624bfa19044077adcc511bef57c764ef1f49ee /drivers/net/xen-netback/interface.c
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf (diff)
downloadkernel-c101cff9010083a8796353a75673fd100b077b79.tar.gz
kernel-c101cff9010083a8796353a75673fd100b077b79.zip
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions