Text   |  XML   |  ReML   |   Visible Warnings:

Dangerous Function Cast  at sctp_byte_graph_dlg.c:1070

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

init_sctp_graph_window

(/home/sate/Testcases/c/cve/wireshark-1.2.0/gtk/sctp_byte_graph_dlg.c)expand/collapse
Show more  
 1060          gtk_container_set_border_width(GTK_CONTAINER(hbox), 10);
 1061          gtk_button_box_set_layout(GTK_BUTTON_BOX (hbox), GTK_BUTTONBOX_SPREAD);
 1062          gtk_box_set_spacing(GTK_BOX (hbox), 0);
 1063          gtk_box_set_child_packing(GTK_BOX(vbox), hbox, FALSE, FALSE, 0, GTK_PACK_START);
 1064          gtk_widget_show(hbox);
 1065   
 1066          sack_bt = gtk_button_new_with_label ("Adv. Rec. Window");
 1067          gtk_box_pack_start(GTK_BOX(hbox), sack_bt, FALSE, FALSE, 0);
 1068          gtk_widget_show(sack_bt);
 1069   
 1070          g_signal_connect(sack_bt, "clicked", G_CALLBACK(on_sack_bt), u_data);
 1071   
 1072          tsn_bt = gtk_button_new_with_label ("Data bytes sent");
 1073          gtk_box_pack_start(GTK_BOX(hbox), tsn_bt, FALSE, FALSE, 0);
 1074          gtk_widget_show(tsn_bt);
 1075          g_signal_connect(tsn_bt, "clicked", G_CALLBACK(on_tsn_bt), u_data);
 1076   
 1077          both_bt = gtk_button_new_with_label ("Show both");
 1078          gtk_box_pack_start(GTK_BOX(hbox), both_bt, FALSE, FALSE, 0);
 1079          gtk_widget_show(both_bt);
 1080          g_signal_connect(both_bt, "clicked", G_CALLBACK(on_both_bt), u_data);
Show more  




Change Warning 528.28538 : Dangerous Function Cast

Because they are very similar, this warning shares annotations with warning 528.28570.

Priority:
State:
Finding:
Owner:
Note: