diff options
author | Colin Ian King <[email protected]> | 2021-06-08 16:34:08 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <[email protected]> | 2021-06-09 21:28:50 +0200 |
commit | 5302560bb49d38bf6e62a47c44e19ef04bd5344d (patch) | |
tree | c67606d85188f76a34746f25fe94f3f6697f39a4 /tools/perf/scripts/python/stackcollapse.py | |
parent | cf6b5ffdce5a78b2fcb0e53b3a2487c490bcbf7f (diff) |
netfilter: nfnetlink_hook: fix array index out-of-bounds error
Currently the array net->nf.hooks_ipv6 is accessed by index hook
before hook is sanity checked. Fix this by moving the sanity check
to before the array access.
Addresses-Coverity: ("Out-of-bounds access")
Fixes: e2cf17d3774c ("netfilter: add new hook nfnl subsystem")
Signed-off-by: Colin Ian King <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions