Text   |  XML   |  ReML   |   Visible Warnings:

Dangerous Function Cast  at about_dlg.c:556

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

about_wireshark_cb

(/home/sate/Testcases/c/cve/wireshark-1.2.0/gtk/about_dlg.c)expand/collapse
Show more  
 546   
 547    /* Button row */
 548    bbox = dlg_button_row_new(GTK_STOCK_OK, NULL);
 549    gtk_box_pack_start(GTK_BOX(main_vb), bbox, FALSE, FALSE, 0);
 550   
 551    ok_btn = g_object_get_data(G_OBJECT(bbox), GTK_STOCK_OK);
 552    gtk_widget_grab_focus(ok_btn);
 553    gtk_widget_grab_default(ok_btn);
 554    window_set_cancel_button(about_wireshark_w, ok_btn, window_cancel_button_cb);
 555   
 556    g_signal_connect(about_wireshark_w, "delete_event", G_CALLBACK(window_delete_event_cb), NULL);
 557    g_signal_connect(about_wireshark_w, "destroy", G_CALLBACK(about_wireshark_destroy_cb), NULL);
 558   
 559    gtk_widget_show_all(about_wireshark_w);
 560    window_present(about_wireshark_w);
 561  }
 562   
 563  static void
 564  about_wireshark_destroy_cb(GtkWidget *win _U_, gpointer user_data _U_)
 565  {
 566    /* Note that we no longer have an "About Wireshark" dialog box. */
Show more  




Change Warning 93.27869 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: