Text   |  XML   |  ReML   |   Visible Warnings:

Dangerous Function Cast  at main_filter_toolbar.c:165

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

filter_toolbar_new

(/home/sate/Testcases/c/cve/wireshark-1.2.0/gtk/main_filter_toolbar.c)expand/collapse
Show more  
 155      filter_reset = gtk_button_new_from_stock(WIRESHARK_STOCK_CLEAR_EXPRESSION);
 156      g_object_set_data(G_OBJECT(filter_reset), E_DFILTER_TE_KEY, filter_te);
 157      g_signal_connect(filter_reset, "clicked", G_CALLBACK(filter_reset_cb), NULL);
 158      gtk_widget_show(filter_reset);
 159      gtk_toolbar_append_widget(GTK_TOOLBAR(filter_tb), filter_reset,
 160          "Clear this filter string and update the display", "Private");
 161   
 162      /* Create the "Apply" button */
 163      filter_apply = gtk_button_new_from_stock(WIRESHARK_STOCK_APPLY_EXPRESSION);
 164      g_object_set_data(G_OBJECT(filter_apply), E_DFILTER_CM_KEY, filter_cm);
 165      g_signal_connect(filter_apply, "clicked", G_CALLBACK(filter_activate_cb), filter_te);
 166      gtk_widget_show(filter_apply);
 167      gtk_toolbar_append_widget(GTK_TOOLBAR(filter_tb), filter_apply,
 168          "Apply this filter string to the display", "Private");
 169   
 170      /* Sets the text entry widget pointer as the E_DILTER_TE_KEY data
 171       * of any widget that ends up calling a callback which needs 
 172       * that text entry pointer */
 173      set_menu_object_data("/File/Open...", E_DFILTER_TE_KEY, filter_te);
 174      set_menu_object_data("/Edit/Copy/As Filter", E_DFILTER_TE_KEY,
 175                           filter_te);
Show more  




Change Warning 342.28294 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: