wireshark/extcap
Mikael Kanstrup 91e512985f androiddump: Fix null dereference if linktype not found
If linktype cannot be determined from tcpdump output the
lookup function is handed a NULL which is then strcmp:ed.
Handle NULL parameter by explicit check.

Fixes Coverity CID 1413923

Change-Id: I290c116991d15cef0a1e954a9f8b76722a5f450c
Reviewed-on: https://code.wireshark.org/review/22483
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-07-01 01:24:31 +00:00
..
.editorconfig Move extcap EditorConfig settings to source dir 2016-03-23 00:24:52 +00:00
Makefile.am Use the cfile_ failure_message routines in androiddump. 2017-04-21 06:50:21 +00:00
androiddump.c androiddump: Fix null dereference if linktype not found 2017-07-01 01:24:31 +00:00
ciscodump.c Use glib-compat 2017-03-02 15:20:05 +00:00
extcap-base.c extcap: put missed parameters into the help 2016-10-19 06:44:05 +00:00
extcap-base.h Clean up some UN*X-vs-Windows socket issues. 2017-01-26 07:00:06 +00:00
randpktdump.c extcap: fix memleak via data_file_url 2017-01-07 20:32:43 +00:00
ssh-base.c extcap: make extcap use the ws_strtoi/u functions. 2016-09-16 14:21:16 +00:00
ssh-base.h extcap: make extcap use the ws_strtoi/u functions. 2016-09-16 14:21:16 +00:00
sshdump.c Use glib-compat 2017-03-02 15:20:05 +00:00
udpdump.c udpdump.c: Don't include epan headers. 2017-06-15 04:18:20 +00:00