Wireshark crashes when exporting a profile on Mac OSX if there is no extension
Summary
Wireshark crashes when exporting a profile on Mac OSX
Steps to reproduce
R-click on Profiles in status bar. Select export selected profile. Name the file "profiletest", choose OK in Finder. Pop-up in Wireshark says "one file exported" Click OK. Crash. Zip file is not created.
What is the current bug behavior?
If I repeat the steps and use "profiletest.zip" the profile is saved, and Wireshark works fine.
What is the expected correct behavior?
Wireshark should prompt for an extension, or assign an extension.
Sample capture file
N/A
Relevant logs and/or screenshots
Build information
This happened in the 4.0 version on the website. I downloaded the latest version, hoping it had already been fixed.
Version 4.1.0rc0-576-g61d81683c8df (v4.1.0rc0-576-g61d81683c8df).
Copyright 1998-2022 Gerald Combs <gerald@wireshark.org> and contributors.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
Compiled (64-bit) using Clang 13.0.0 (clang-1300.0.29.30), with GLib 2.68.4, with PCRE2, with zlib 1.2.11, with Qt 6.2.4, with libpcap, without POSIX capabilities, with Lua 5.2.4, with GnuTLS 3.6.15 and PKCS #11 support, with Gcrypt 1.8.7, with Kerberos (MIT), with MaxMind, with nghttp2 1.46.0, with brotli, with LZ4, with Zstandard, with Snappy, with libxml2 2.9.9, with libsmi 0.4.8, with QtMultimedia, with automatic updates using Sparkle, with SpeexDSP (using system library), with Minizip, with binary plugins, with UTF-8 validation.
Running on macOS 11.6, build 20G165 (Darwin 20.6.0), with Apple M1, with 16384 MB of physical memory, with GLib 2.68.4, with PCRE2 10.39 2021-10-29, with zlib 1.2.11, with Qt 6.2.4, with libpcap 1.9.1, with c-ares 1.15.0, with GnuTLS 3.6.15, with Gcrypt 1.8.7, with nghttp2 1.46.0, with brotli 1.0.9, with LZ4 1.9.2, with Zstandard 1.4.2, with libsmi 0.4.8, with light display mode, with HiDPI, with LC_TYPE=C, binary plugins supported.
Edited by Jaap Keuter