diff options
| author | Florian Westphal <[email protected]> | 2018-06-11 20:22:19 +0000 |
|---|---|---|
| committer | Pablo Neira Ayuso <[email protected]> | 2018-06-12 17:31:07 +0000 |
| commit | c05a45c0865d986a8aea373cd5297dbfded6882e (patch) | |
| tree | 106b985b3dc7d29d872bef4436116838b88cc166 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | netfilter: nf_tables: use WARN_ON_ONCE instead of BUG_ON in nft_do_chain() (diff) | |
| download | kernel-c05a45c0865d986a8aea373cd5297dbfded6882e.tar.gz kernel-c05a45c0865d986a8aea373cd5297dbfded6882e.zip | |
netfilter: ctnetlink: avoid null pointer dereference
Dan Carpenter points out that deref occurs after NULL check, we should
re-fetch the pointer and check that instead.
Fixes: 2c205dd3981f7 ("netfilter: add struct nf_nat_hook and use it")
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Florian Westphal <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions
