Re: [Wireshark-dev] How does this not blow up?

2020-12-11 Thread Jaap Keuter
Not sure why there would be a difference, file_dlg_win32.c is the same between master and release-3.4. OTOH, format_handle_wm_initdialog() is only called from export_file_hook_proc() on WM_INITDIALOG, but win32_export_file() has already setup print_args to print_dissections_as_displayed, so I

Re: [Wireshark-dev] How does this not blow up?

2020-12-10 Thread chuck c
It does "blow up" with 3.5.0rc0. Not sure why it works with 3.4.1. On Thu, Dec 10, 2020 at 4:06 PM Jaap Keuter wrote: > Hi, > > In "ui/win32/file_dlg_win32.c" > > static void > format_handle_wm_initdialog(HWND dlg_hwnd, print_args_t *args) { > HWND cur_ctrl; > ... > switch

[Wireshark-dev] How does this not blow up?

2020-12-10 Thread Jaap Keuter
Hi, In "ui/win32/file_dlg_win32.c" static void format_handle_wm_initdialog(HWND dlg_hwnd, print_args_t *args) { HWND cur_ctrl; ... switch (args->print_dissections) { case print_dissections_none: case print_dissections_collapsed: SendMessage(cur_ctrl,