QUIC/TLS not extracting "h3" from ALPN in a capture
Summary
Hello, I have made a capture in Wireshark 4.2 of a very simple HTTP/3 request using the neqo-client (provided by Firefox's QUIC/HTTP3 stack), and I noticed for some reason it was not dissecting the HTTP/3 protocol at all.
Sample capture file
Steps to reproduce
Open the specific Wireshark (4.2+) capture above. Notice HTTP/3 is not dissected at all.
What is the current bug behavior?
I did a little bit of debugging and it appears the following line: https://gitlab.com/wireshark/wireshark/-/blob/master/epan/dissectors/packet-quic.c#L3406 should be pulling out the "h3" value, but instead returns no value. Manually setting this to "h3" in a debugger and continuing causes the HTTP/3 handler to be chosen and dissection works fine.
I'm not sure why this is the case, as the Server is definitely returning "h3" in it's own ALPN TLS Extension during the Handshake.
What is the expected correct behavior?
HTTP/3 Dissector handler chosen correctly by QUIC
Build information
(I'm on my Windows machine currently, but problem exists on latest 4.3 Git on both Windows/Linux)
Version 4.2.0 (v4.2.0-0-g54eedfc63953).
Compiled (64-bit) using Microsoft Visual Studio 2022 (VC++ 14.37, build 32822),
with GLib 2.78.0, with Qt 6.5.3, with libpcap, with zlib 1.3.0, with PCRE2, with
Lua 5.2.4 (with UfW patches), with GnuTLS 3.7.9 and PKCS #11 support, with
Gcrypt 1.10.2-unknown, with Kerberos (MIT), with MaxMind, with nghttp2 1.57.0,
with nghttp3 1.0.0, with brotli, with LZ4, with Zstandard, with Snappy, with
libxml2 2.11.5, with libsmi 0.5.0, with QtMultimedia, with automatic updates
using WinSparkle 0.8.0, with AirPcap, with Minizip, with binary plugins.
Running on 64-bit Windows 10 (21H2), build 19044, with AMD Ryzen 9 7950X3D
16-Core Processor (with SSE4.2), with 65239 MB of physical memory, with GLib
2.78.0, with Qt 6.5.3, with Npcap version 1.78, based on libpcap version 1.10.4,
with PCRE2 10.42 2022-12-11, with c-ares 1.19.0, with GnuTLS 3.7.9, with Gcrypt
1.10.2-unknown, with nghttp2 1.57.0, with nghttp3 1.0.0, with brotli 1.0.9, with
LZ4 1.9.3, with Zstandard 1.5.2, without AirPcap, with light display mode,
without HiDPI, with QPA plugin "windows", with LC_TYPE=English_Canada.utf8,
binary plugins supported.