Dangerous Function Cast at print_dlg.c:831 |
No properties have been set. edit properties |
Jump to warning location ↓ | warning details... |
| |
open_print_dialog (/home/sate/Testcases/c/cve/wireshark-1.2.0/gtk/print_dlg.c)![]() | ||||||
![]() | ||||||
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" | |||||
823 | had been selected, as happens if Return is typed if some | |||||
824 | that *doesn't* handle the Return key has the input focus. */ | |||||
825 | #ifndef _WIN32 | |||||
826 | dlg_set_activate(cmd_te, ok_bt); | |||||
827 | #endif | |||||
828 | if(action != output_action_print) | |||||
829 | dlg_set_activate(file_te, ok_bt); | |||||
830 | ||||||
831 | g_signal_connect(main_win, "delete_event", G_CALLBACK(window_delete_event_cb), NULL);
| |||||
832 | ||||||
833 | main_win); ( | |||||
834 | window_present(main_win); | |||||
835 | ||||||
836 | return main_win; | |||||
837 | } | |||||
838 | ||||||
839 | ||||||
840 | /* user changed "print to" destination */ | |||||
841 | static void | |||||
![]() |