diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2015-04-21 18:12:58 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2015-04-21 18:12:58 +0200 |
commit | fa6e21e9393f814f9656460aeaa288dc543d6cec (patch) | |
tree | 53544d9b25c91e9a1ea417f966933180fe4efa01 /pcap_sg.c | |
parent | 679e6211238039322272e0d3d085fab0d7c5c91d (diff) |
dissectors: 80211_mac_hdr: Check return value of pkt_pull
Prevent a NULL pointer dereference if (for whatever reason) pkt_pull
returns NULL.
This issue was discovered using the Coverity scanner.
Fixes: 9278bb65 ("netsniff-ng: Dump basic radiotap header info")
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'pcap_sg.c')
0 files changed, 0 insertions, 0 deletions