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

build_autocompletion_list

(/home/sate/Testcases/c/cve/wireshark-1.2.0/gtk/filter_autocomplete.c)expand/collapse
Show more  
 611  build_autocompletion_list(GtkWidget *filter_te, GtkWidget *treeview, GtkWidget *popup_win,  
 612                            const gchar *protocol_name, gboolean protocols_only, gboolean *stop_propagation)
 613  {
 614    void *cookie, *cookie2;
 615    protocol_t *protocol;
 616    unsigned int protocol_name_len;
 617    header_field_info *hfinfo;
 618    gint count = 0;
 619    gboolean exact_match = FALSE;
 620    const gchar *first = NULL;
 621    int i;
 622   
 623    protocol_name_len = (unsigned int) strlen(protocol_name);
 624   
 625    /* Walk protocols list */
 626[+]   for (i = proto_get_first_protocol(&cookie); i != -1; i = proto_get_next_protocol(&cookie)) {
 627   
 628[+]     protocol = find_protocol_by_id(i);
 629   
 630[+]     if (!proto_is_protocol_enabled(protocol))
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 4058.30608 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: