diff options
| author | Pablo Neira Ayuso <[email protected]> | 2021-05-05 20:25:24 +0000 |
|---|---|---|
| committer | Pablo Neira Ayuso <[email protected]> | 2021-05-05 20:26:09 +0000 |
| commit | 5e024c325406470d1165a09c6feaf8ec897936be (patch) | |
| tree | f0c342e641912b5e6e41e0965971f1410bc2a44c /lib/bitmap.c | |
| parent | netfilter: nfnetlink: add a missing rcu_read_unlock() (diff) | |
| download | kernel-5e024c325406470d1165a09c6feaf8ec897936be.tar.gz kernel-5e024c325406470d1165a09c6feaf8ec897936be.zip | |
netfilter: nfnetlink_osf: Fix a missing skb_header_pointer() NULL check
Do not assume that the tcph->doff field is correct when parsing for TCP
options, skb_header_pointer() might fail to fetch these bits.
Fixes: 11eeef41d5f6 ("netfilter: passive OS fingerprint xtables match")
Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions
