(/home/sate/Testcases/c/cve/wireshark-1.2.0/capture_opts.c) |
| |
| 570 | | | capture_opts_list_link_layer_types(capture_options *capture_opts, gboolean machine_readable) |
| 571 | | | { |
| 572 | | | gchar *err_str, *desc_str; |
| 573 | | | GList *lt_list, *lt_entry; |
| 574 | | | data_link_info_t *data_link_info; |
| 575 | | | |
| 576 | | | |
| 577 | [+] | | lt_list = get_pcap_linktype_list(capture_opts->iface, &err_str); |
Event 1:
get_pcap_linktype_list() does not initialize err_str. - This may be because of a failure case or other special case for get_pcap_linktype_list().
hide
|
|
 |
| 578 | | | if (lt_list == NULL) { |
Event 9:
Taking true branch. lt_list == (void *)0 evaluates to true.
hide
|
|
| 579 | | | if (err_str != NULL) { |
Uninitialized Variable
err_str was not initialized. The issue can occur if the highlighted code executes. See related event 1. Show: All events | Only primary events |
|
| |