Text   |  XML   |  ReML   |   Visible Warnings:

Dangerous Function Cast  at gui_utils.c:860

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

setup_tree

(/home/sate/Testcases/c/cve/wireshark-1.2.0/gtk/gui_utils.c)expand/collapse
Show more  
 850  static void
 851  setup_tree(GtkWidget *tree)
 852  {
 853    set_tree_styles(tree);
 854   
 855    trees = g_list_append(trees, tree);
 856   
 857    /* Catch the "destroy" event on the widget, so that we remove it from
 858       the list when it's destroyed. */
 859    g_signal_connect(tree, "destroy", G_CALLBACK(forget_tree), NULL);
 860    g_signal_connect(tree, "key-press-event", G_CALLBACK(tree_view_key_pressed_cb), NULL );
 861  }
 862   
 863  /* Remove a Tree from the list of Trees. */
 864  static void
 865  forget_tree(GtkWidget *tree, gpointer data _U_)
 866  {
 867    trees = g_list_remove(trees, tree);
 868  }
 869   
 870  /* Set the styles of a Tree based upon user preferences. */
Show more  




Change Warning 318.28258 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: