Text   |  XML   |  ReML   |   Visible Warnings:

Dangerous Function Cast  at tcp_graph.c:778

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

create_drawing_area

(/home/sate/Testcases/c/cve/wireshark-1.2.0/gtk/tcp_graph.c)expand/collapse
Show more  
 767           * event which is handled during the next return to gtk_main which is
 768           * probably the gdk_gc_new() call. configure handler calls 
 769           * graph_element_lists_make() which is not good because the graph struct is 
 770           * not fully set up yet - namely we're not sure about actual geometry 
 771           * and we don't have the GC's at all. so we just postpone installation 
 772           * of configure handler until we're ready to deal with it.
 773           *
 774           * !!! NEMLLO BY TO BYT NA KONCI graph_init_sequence()? !!!
 775           *
 776           */
 777          g_signal_connect(g->drawing_area,"configure_event", G_CALLBACK(configure_event),
 778                         NULL);
 779   
 780          /* puts ("exiting create_drawing_area()"); */
 781  }
 782   
 783  static void callback_toplevel_destroy (GtkWidget *widget _U_, gpointer data)
 784  {
 785          struct graph *g = (struct graph * )data;
 786   
 787          if (!(g->flags & GRAPH_DESTROYED)) {
 788                  g->flags |= GRAPH_DESTROYED;
Show more  




Change Warning 826.29160 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: