Text   |  XML   |  ReML   |   Visible Warnings:

Dangerous Function Cast  at profile_dlg.c:792

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

profile_dialog_new

(/home/sate/Testcases/c/cve/wireshark-1.2.0/gtk/profile_dlg.c)expand/collapse
Show more  
 782    gtk_tooltips_set_tip (tooltips, name_te, "A profile name cannot contain the '/' character", NULL);
 783  #endif
 784    gtk_widget_show(name_te);
 785   
 786    /* button row (create all possible buttons and hide the unrequired later - it's a lot easier) */
 787    bbox = dlg_button_row_new(GTK_STOCK_OK, GTK_STOCK_APPLY, GTK_STOCK_CANCEL, GTK_STOCK_HELP, NULL);
 788    gtk_box_pack_start(GTK_BOX(main_vb), bbox, FALSE, FALSE, 5);
 789    gtk_widget_show(bbox);
 790   
 791    ok_bt = g_object_get_data(G_OBJECT(bbox), GTK_STOCK_OK);
 792    g_signal_connect(ok_bt, "clicked", G_CALLBACK(profile_dlg_ok_cb), NULL);
 793    gtk_tooltips_set_tip (tooltips, ok_bt, "Apply the profiles and close this dialog", NULL);
 794   
 795    /* Catch the "activate" signal on the profile name and profile 
 796       list entries, so that if the user types Return 
 797       there, we act as if the "OK" button had been selected, as 
 798       happens if Return is typed if some widget that *doesn't*
 799       handle the Return key has the input focus. */
 800    dlg_set_activate(name_te, ok_bt);
 801   
 802    apply_bt = g_object_get_data(G_OBJECT(bbox), GTK_STOCK_APPLY);
Show more  




Change Warning 490.28495 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: