diff options
author | 2015-02-01 23:54:25 +0300 | |
---|---|---|
committer | 2015-02-02 19:33:18 -0800 | |
commit | c101cff9010083a8796353a75673fd100b077b79 (patch) | |
tree | 34624bfa19044077adcc511bef57c764ef1f49ee /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf (diff) | |
download | linux-dev-c101cff9010083a8796353a75673fd100b077b79.tar.xz linux-dev-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 <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions