(/home/sate/Testcases/c/cve/wireshark-1.2.0/gtk/proto_dlg.c) |
| |
| 525 | | | proto_disable_dialog_cb(gpointer dialog _U_, gint btn, gpointer data) |
| 526 | | | { |
| 527 | | | protocol_t *protocol; |
| 528 | | | gint id = GPOINTER_TO_INT(data); |
| 529 | | | |
| 530 | | | if (btn == ESD_BTN_OK) { |
Event 1:
Taking true branch. btn == 1 evaluates to true.
hide
|
|
| 531 | | | |
| 532 | | | if (protocol_list == NULL) |
Event 2:
Skipping " if". protocol_list == (void *)0 evaluates to false.
hide
|
|
| 533 | | | create_protocol_list(); |
| 534 | | | |
| 535 | [+] | | protocol = find_protocol_by_id(id); |
 |
| 536 | [+] | | if (proto_is_protocol_enabled(protocol) == TRUE) { |
Event 6:
protocol, which evaluates to NULL, is passed to proto_is_protocol_enabled(). See related event 5.
hide
|
|
 |
| |