Text   |  XML   |  ReML   |   Visible Warnings:

Dangerous Function Cast  at decode_as_dlg.c:1315

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

decode_list_menu_finish

(/home/sate/Testcases/c/cve/wireshark-1.2.0/gtk/decode_as_dlg.c)expand/collapse
Show more  
 1305      text[E_LIST_S_TABLE] = "(none)";
 1306      store = GTK_LIST_STORE(gtk_tree_view_get_model(GTK_TREE_VIEW(list)));
 1307      gtk_list_store_prepend(store, &iter);
 1308      gtk_list_store_set(store, &iter,
 1309                         E_LIST_S_PROTO_NAME, text[E_LIST_S_PROTO_NAME],
 1310                         E_LIST_S_TABLE, text[E_LIST_S_TABLE],
 1311                         E_LIST_S_TABLE+1, NULL, -1);
 1312   
 1313      gtk_tree_selection_select_iter(gtk_tree_view_get_selection(GTK_TREE_VIEW(list)), &iter);
 1314      g_signal_connect(list, "button_press_event", G_CALLBACK(decode_list_button_press_cb), NULL);
 1315      g_signal_connect(list, "key_release_event", G_CALLBACK(decode_list_key_release_cb), NULL);
 1316  }
 1317   
 1318  /*
 1319   * This routine is called to add the dissector selection list to a
 1320   * notebook page.  This scrolled list contains an entry labeled
 1321   * "default", and an entry for each protocol that has had a dissector 
 1322   * registered.  The default choice for the list is set to the 
 1323   * "default" choice, which will return the protocol/port selections to
 1324   * their original dissector(s).
 1325   *
Show more  




Change Warning 194.28024 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: