Dangerous Function Cast at print_dlg.c:219 |
No properties have been set. edit properties |
Jump to warning location ↓ | warning details... |
| |
export_text_cmd_cb (/home/sate/Testcases/c/cve/wireshark-1.2.0/gtk/print_dlg.c)![]() | ||||||
![]() | ||||||
209 | args->print_summary = TRUE; | |||||
210 | args->print_dissections = print_dissections_as_displayed; | |||||
211 | args->print_hex = FALSE; | |||||
212 | args->print_formfeed = FALSE; | |||||
213 | } | |||||
214 | ||||||
215 | /* init the printing range */ | |||||
216 | packet_range_init(&args->range); | |||||
217 | ||||||
218 | export_text_win = open_print_dialog("Wireshark: Export as \"Plain Text\" File", output_action_export_text, args); | |||||
219 | g_signal_connect(export_text_win, "destroy", G_CALLBACK(print_destroy_cb), &export_text_win);
| |||||
220 | } | |||||
221 | ||||||
222 | ||||||
223 | /* | |||||
224 | * Keep a static pointer to the current "Export ps" window, if any, so that if | |||||
225 | * somebody tries to do "File:Export to ps" while there's already a "Export ps" window | |||||
226 | * up, we just pop up the existing one, rather than creating a new one. | |||||
227 | */ | |||||
228 | static GtkWidget *export_ps_win = NULL; | |||||
229 | ||||||
![]() |