diff options
author | 2012-05-12 01:00:03 +0000 | |
---|---|---|
committer | 2012-05-17 00:56:33 +0200 | |
commit | 58618115492711d99fbccb79c5317299e32231fe (patch) | |
tree | 6fd9fe61601aee724c16d2e5d26d5219e54fc042 /tools/perf/scripts/python/syscall-counts.py | |
parent | netfilter: xt_hashlimit: use _ALL macro to reject unknown flag bits (diff) | |
download | linux-dev-58618115492711d99fbccb79c5317299e32231fe.tar.xz linux-dev-58618115492711d99fbccb79c5317299e32231fe.zip |
netfilter: xt_HMARK: potential NULL dereference in get_inner_hdr()
There is a typo in the error checking and "&&" was used instead of "||".
If skb_header_pointer() returns NULL then it leads to a NULL
dereference.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Hans Schillstrom <hans.schillstrom@ericsson.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions