Text   |  XML   |  ReML   |   Visible Warnings:

Dangerous Function Cast  at filter_dlg.c:576

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

filter_dialog_new

(/home/sate/Testcases/c/cve/wireshark-1.2.0/gtk/filter_dlg.c)expand/collapse
Show more  
 566          gtk_tooltips_set_tip (tooltips, add_expression_bt, ("Add an expression to the filter string"), NULL);
 567      }
 568   
 569   
 570      /* button row (create all possible buttons and hide the unrequired later - it's a lot easier) */
 571      bbox = dlg_button_row_new(GTK_STOCK_OK, GTK_STOCK_APPLY, GTK_STOCK_SAVE, GTK_STOCK_CANCEL, GTK_STOCK_HELP, NULL);
 572      gtk_box_pack_start(GTK_BOX(main_vb), bbox, FALSE, FALSE, 5);
 573      gtk_widget_show(bbox);
 574   
 575      ok_bt = g_object_get_data(G_OBJECT(bbox), GTK_STOCK_OK);
 576      g_signal_connect(ok_bt, "clicked", G_CALLBACK(filter_dlg_ok_cb), filter_list_type_p);
 577      gtk_tooltips_set_tip (tooltips, ok_bt, ("Apply the filters and close this dialog"), NULL);
 578   
 579      /* Catch the "activate" signal on the filter name and filter 
 580         expression text entries, so that if the user types Return 
 581         there, we act as if the "OK" button had been selected, as 
 582         happens if Return is typed if some widget that *doesn't*
 583         handle the Return key has the input focus. */
 584      if (parent_filter_te != NULL) {
 585          dlg_set_activate(name_te, ok_bt);
 586          dlg_set_activate(filter_te, ok_bt);
Show more  




Change Warning 244.28110 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: