Text   |  XML   |  ReML   |   Visible Warnings:

Dangerous Function Cast  at tcp_graph.c:1518

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

control_panel_create_graph_type_group

(/home/sate/Testcases/c/cve/wireshark-1.2.0/gtk/tcp_graph.c)expand/collapse
Show more  
 1508          gtk_container_add (GTK_CONTAINER (graph_frame), graph_box);
 1509   
 1510          g_object_set_data(G_OBJECT(graph_tseqstevens), "new-graph-type",
 1511                          GINT_TO_POINTER(0));
 1512          g_object_set_data(G_OBJECT(graph_tseqttrace), "new-graph-type", GINT_TO_POINTER(1));
 1513          g_object_set_data(G_OBJECT(graph_tput), "new-graph-type", GINT_TO_POINTER(2));
 1514          g_object_set_data(G_OBJECT(graph_rtt), "new-graph-type", GINT_TO_POINTER(3));
 1515   
 1516          g_signal_connect(graph_tseqttrace, "toggled", G_CALLBACK(callback_graph_type), g);
 1517          g_signal_connect(graph_tseqstevens, "toggled", G_CALLBACK(callback_graph_type), g);
 1518          g_signal_connect(graph_tput, "toggled", G_CALLBACK(callback_graph_type), g);
 1519          g_signal_connect(graph_rtt, "toggled", G_CALLBACK(callback_graph_type), g);
 1520          g_signal_connect(graph_init, "toggled", G_CALLBACK(callback_graph_init_on_typechg),
 1521                         g);
 1522   
 1523          return graph_frame;
 1524  }
 1525   
 1526  static void callback_graph_type (GtkWidget *toggle, gpointer data)
 1527  {
 1528          int old_type, new_type;
Show more  




Change Warning 852.29186 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: