Crash when adding a RSA key file for TLS decryption
Summary
Adding a RSA key file to the TLS preferences causes a crash on Version 3.6.1 (v3.6.1-0-ga0a473c7) MacOS 12.0.1
Steps to reproduce
Wireshark > Preferences > Protocols > TLS > RSA keys list / Edit... > + > click on button in "Key File" column
What is the current bug behavior?
Wireshark is crashing
What is the expected correct behavior?
Show a file picker
Sample capture file
Attached: Wireshark-2021-12-31-135133.ips
Relevant logs and/or screenshots
Build information
3.6.1 (v3.6.1-0-ga0a473c7c1ba)
Compiled (64-bit) using Clang 11.0.0 (clang-1100.0.33.16), with Qt 5.15.3, with
libpcap, without POSIX capabilities, with GLib 2.68.4, with zlib 1.2.11, with
Lua 5.2.4, with GnuTLS 3.6.15 and PKCS #11 support, with Gcrypt 1.8.7, with MIT
Kerberos, with MaxMind DB resolver, with nghttp2 1.39.2, 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.
Running on Mac OS X 10.16, build 21A559 (Darwin 21.1.0), with VirtualApple @
2.50GHz (with SSE4.2), with 8192 MB of physical memory, with GLib 2.68.4, with
zlib 1.2.11, with Qt 5.15.3, with libpcap 1.9.1, with c-ares 1.15.0, with GnuTLS
3.6.15, with Gcrypt 1.8.7, with nghttp2 1.39.2, with brotli 1.0.9, with LZ4
1.9.2, with Zstandard 1.4.2, with libsmi 0.4.8, with dark display mode, with
mixed DPI, with LC_TYPE=C, binary plugins supported (21 loaded).