Dangerous Function Cast at print_dlg.c:366 |
No properties have been set. edit properties |
Jump to warning location ↓ | warning details... |
| |
export_pdml_cmd_cb (/home/sate/Testcases/c/cve/wireshark-1.2.0/gtk/print_dlg.c)![]() | ||||||
![]() | ||||||
356 | args->print_summary = TRUE; | |||||
357 | args->print_dissections = print_dissections_as_displayed; | |||||
358 | args->print_hex = FALSE; | |||||
359 | args->print_formfeed = FALSE; | |||||
360 | } | |||||
361 | ||||||
362 | /* init the printing range */ | |||||
363 | packet_range_init(&args->range); | |||||
364 | ||||||
365 | export_pdml_win = open_print_dialog("Wireshark: Export as \"PDML\" file", output_action_export_pdml, args); | |||||
366 | g_signal_connect(export_pdml_win, "destroy", G_CALLBACK(print_destroy_cb), &export_pdml_win);
| |||||
367 | } | |||||
368 | ||||||
369 | /* | |||||
370 | * Keep a static pointer to the current "Export csv" window, if any, so that if | |||||
371 | * somebody tries to do "File:Export to CSV" while there's already a "Export csv" window | |||||
372 | * up, we just pop up the existing one, rather than creating a new one. | |||||
373 | */ | |||||
374 | static GtkWidget *export_csv_win = NULL; | |||||
375 | ||||||
376 | static print_args_t export_csv_args; | |||||
![]() |