Text   |  XML   |  ReML   |   Visible Warnings:

Dangerous Function Cast  at print_dlg.c:815

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

open_print_dialog

(/home/sate/Testcases/c/cve/wireshark-1.2.0/gtk/print_dlg.c)expand/collapse
Show more  
 805   
 806    if(action == output_action_print) {
 807      help_bt  = g_object_get_data(G_OBJECT(bbox), GTK_STOCK_HELP);
 808      g_signal_connect(help_bt, "clicked", G_CALLBACK(topic_cb), (gpointer)HELP_PRINT_DIALOG);
 809    } else {
 810  #if _WIN32 
 811      help_bt  = g_object_get_data(G_OBJECT(bbox), GTK_STOCK_HELP);
 812      g_signal_connect(help_bt, "clicked", G_CALLBACK(topic_cb), (gpointer)HELP_EXPORT_FILE_WIN32_DIALOG);
 813  #else
 814      help_bt  = g_object_get_data(G_OBJECT(bbox), GTK_STOCK_HELP);
 815      g_signal_connect(help_bt, "clicked", G_CALLBACK(topic_cb), (gpointer)HELP_EXPORT_FILE_DIALOG);
 816  #endif
 817    }
 818   
 819    gtk_widget_grab_default(ok_bt);
 820   
 821    /* Catch the "activate" signal on the "Command" and "File" text entries,
 822       so that if the user types Return there, we act as if the "OK" button 
 823       had been selected, as happens if Return is typed if some widget 
 824       that *doesn't* handle the Return key has the input focus. */
 825  #ifndef _WIN32 
Show more  




Change Warning 477.28477 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: