Text   |  XML   |  ReML   |   Visible Warnings:

Dangerous Function Cast  at tcp_graph.c:1521

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  
 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;
 1529          struct graph *g = (struct graph * )data;
 1530   
 1531          new_type = (long)g_object_get_data(G_OBJECT(toggle),"new-graph-type");
Show more  




Change Warning 850.29184 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: