diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2015-07-21 11:38:38 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2015-07-21 11:38:38 +0200 |
commit | f4024343a161f50b73f106dd3dea24d68a934d5a (patch) | |
tree | df923660ac468be24040ff3bbc7136b82e17551c /staging/rtp.c | |
parent | 820d8f23af148240e0266967ee460098a4855d94 (diff) |
netsniff-ng: dissector_sll: Remove NULL check alltogether
The check for pkt being NULL is not needed since the packet is allocated
in dissector_entry_point() and panic()'s if the allocation fails.
pkt->sll is also guaranteed to be non-NULL by all call sites of
dissector_entry_point().
This is the proper fix for CIDs 1312074 and 1312075.
Noticed-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'staging/rtp.c')
0 files changed, 0 insertions, 0 deletions