Text   |  XML   |  ReML   |   Visible Warnings:

Dangerous Function Cast  at proto_dlg.c:137

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

proto_cb

(/home/sate/Testcases/c/cve/wireshark-1.2.0/gtk/proto_dlg.c)expand/collapse
Show more  
 127   
 128    proto_store = gtk_list_store_new(4, G_TYPE_BOOLEAN, G_TYPE_STRING,
 129                                     G_TYPE_STRING, G_TYPE_POINTER);
 130    show_proto_selection(proto_store);
 131    /* default sort on "abbrev" column */
 132    gtk_tree_sortable_set_sort_column_id(GTK_TREE_SORTABLE(proto_store), 1,
 133                                         GTK_SORT_ASCENDING);
 134    proto_list = tree_view_new(GTK_TREE_MODEL(proto_store));
 135    gtk_container_add(GTK_CONTAINER(proto_sw), proto_list);
 136    proto_rend = gtk_cell_renderer_toggle_new();
 137    g_signal_connect(proto_rend, "toggled", G_CALLBACK(status_toggled), proto_store);
 138    proto_col = gtk_tree_view_column_new_with_attributes(titles[0], proto_rend,
 139                                                      "active", 0, NULL);
 140    gtk_tree_view_column_set_sort_column_id(proto_col, 0);
 141    gtk_tree_view_append_column(GTK_TREE_VIEW(proto_list), proto_col);
 142    proto_rend = gtk_cell_renderer_text_new();
 143    proto_col = gtk_tree_view_column_new_with_attributes(titles[1], proto_rend,
 144                                                      "text", 1, NULL);
 145    gtk_tree_view_column_set_sort_column_id(proto_col, 1);
 146    gtk_tree_view_append_column(GTK_TREE_VIEW(proto_list), proto_col);
 147    proto_rend = gtk_cell_renderer_text_new();
Show more  




Change Warning 507.28515 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: