Text   |  XML   |  ReML   |   Visible Warnings:

Dangerous Function Cast  at prefs_dlg.c:898

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

create_preference_uat

(/home/sate/Testcases/c/cve/wireshark-1.2.0/gtk/prefs_dlg.c)expand/collapse
Show more  
 888    GtkTooltips *tooltips;
 889    GtkWidget *button = NULL;
 890   
 891    tooltips = g_object_get_data(G_OBJECT(main_tb), E_TOOLTIPS_KEY);
 892   
 893    set_option_label(main_tb, table_position, label_text, tooltip_text,
 894                     tooltips);
 895   
 896    button = gtk_button_new_from_stock(WIRESHARK_STOCK_EDIT);
 897   
 898    g_signal_connect(button, "clicked", G_CALLBACK(uat_window_cb), uat);
 899   
 900    gtk_table_attach_defaults(GTK_TABLE(main_tb), button, 1, 2,
 901                              table_position, table_position+1);
 902    if (tooltip_text != NULL && tooltips != NULL)
 903      gtk_tooltips_set_tip(tooltips, button, tooltip_text, NULL);
 904    gtk_widget_show(button);
 905   
 906    return button;
 907  }
 908   
Show more  




Change Warning 454.28441 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: