diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2013-05-12 12:33:53 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2013-05-12 12:33:53 +0200 |
commit | 10a80a61d67516c0ba4c13a7c07e9ebfa6fab9c5 (patch) | |
tree | f69e0c17e7170477a01e2f73c3d90483f4e4d46a /proto_none.c | |
parent | 21adfd2ba4324bb8575b17ecd76c0f3b3988246e (diff) |
dissector: lldp: NULL check before dereference
Check return value of pkt_pull before dereferencing it (even though we
check the packet length before and pkt_pull _should_ never return NULL).
This was discovered by the coverity scanner.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'proto_none.c')
0 files changed, 0 insertions, 0 deletions