Text   |  XML   |  ReML   |   Visible Warnings:

Null Pointer Dereference  at proto.c:3698

No properties have been set. | edit properties
Jump to warning location ↓ warning details...
Show Events | Options

proto_disable_dialog_cb

(/home/sate/Testcases/c/cve/wireshark-1.2.0/gtk/proto_dlg.c)expand/collapse
Show more  
 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) {
 531      /* Allow proto_dlg to work with the original settings */
 532      if (protocol_list == NULL)
 533        create_protocol_list();
 534      /* Toggle the protocol if it's enabled and allowed */
 535[+]     protocol = find_protocol_by_id(id);
 536[+]     if (proto_is_protocol_enabled(protocol) == TRUE) {
expand/collapse

proto_is_protocol_enabled

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/proto.c)expand/collapse
Show more  
 3696  proto_is_protocol_enabled(protocol_t *protocol)
 3697  {
 3698          return protocol->is_enabled;
Show more  
Show more  




Change Warning 4251.31883 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: