Text   |  XML   |  ReML   |   Visible Warnings:

Dangerous Function Cast  at main_packet_list.c:515

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

packet_list_new

(/home/sate/Testcases/c/cve/wireshark-1.2.0/gtk/main_packet_list.c)expand/collapse
Show more  
 505                                      GTK_SHADOW_NONE);
 506   
 507      packet_list = gtk_clist_new(cfile.cinfo.num_cols);
 508      /* Column titles are filled in below */
 509      gtk_container_add(GTK_CONTAINER(pkt_scrollw), packet_list);
 510   
 511      packet_list_set_sel_browse(prefs->gui_plist_sel_browse, FALSE);
 512      packet_list_set_font(user_font_get_regular());
 513      gtk_widget_set_name(packet_list, "packet list");
 514      g_signal_connect(packet_list, "select-row", G_CALLBACK(packet_list_select_cb), NULL);
 515      g_signal_connect(packet_list, "unselect-row", G_CALLBACK(packet_list_unselect_cb), NULL);
 516      for (i = 0; i < cfile.cinfo.num_cols; i++) {
 517          /* For performance reasons, columns do not automatically resize,
 518             but are resizeable by the user. */
 519          gtk_clist_set_column_auto_resize(GTK_CLIST(packet_list), i, FALSE);
 520          gtk_clist_set_column_resizeable(GTK_CLIST(packet_list), i, TRUE);
 521   
 522          custom_right_justify = FALSE;
 523          if (cfile.cinfo.col_fmt[i] == COL_CUSTOM) {
 524            hfi = proto_registrar_get_byname(cfile.cinfo.col_custom_field[i]);
 525            if ((hfi != NULL) && (hfi->strings == NULL) &&  
Show more  




Change Warning 362.28327 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: