Text   |  XML   |  ReML   |   Visible Warnings:

Dangerous Function Cast  at sctp_byte_graph_dlg.c:1092

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  
 1082          zoomin_bt = gtk_button_new_with_label ("Zoom in");
 1083          gtk_box_pack_start(GTK_BOX(hbox), zoomin_bt, FALSE, FALSE, 0);
 1084          gtk_widget_show(zoomin_bt);
 1085          g_signal_connect(zoomin_bt, "clicked", G_CALLBACK(on_zoomin_bt), u_data);
 1086          tooltip_in = gtk_tooltips_new();
 1087          gtk_tooltips_set_tip(tooltip_in, zoomin_bt, "Zoom in the area you have selected", NULL);
 1088   
 1089          zoomout_bt = gtk_button_new_with_label ("Zoom out");
 1090          gtk_box_pack_start(GTK_BOX(hbox), zoomout_bt, FALSE, FALSE, 0);
 1091          gtk_widget_show(zoomout_bt);
 1092          g_signal_connect(zoomout_bt, "clicked", G_CALLBACK(on_zoomout_bt), u_data);
 1093          tooltip_out = gtk_tooltips_new();
 1094          gtk_tooltips_set_tip(tooltip_out, zoomout_bt, "Zoom out one step", NULL);
 1095          gtk_widget_set_sensitive(zoomout_bt, FALSE);
 1096   
 1097          bt_close = gtk_button_new_from_stock(GTK_STOCK_CLOSE);
 1098          gtk_box_pack_start(GTK_BOX(hbox), bt_close, FALSE, FALSE, 0);
 1099          gtk_widget_show(bt_close);
 1100          g_signal_connect(bt_close, "clicked", G_CALLBACK(sctp_graph_close_cb), u_data);
 1101   
 1102          g_signal_connect(u_data->io->draw_area,"button_press_event",G_CALLBACK(on_button_press), u_data);
Show more  




Change Warning 524.28534 : Dangerous Function Cast

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

Priority:
State:
Finding:
Owner:
Note: