BGP dissector bug
Summary
BGP dissector in the Latest release (3.6.7) is not displaying correctly UPDATE messages containing Flowspec filters.
Steps to reproduce
Open attached files BGP_Flowspec_IPv4.pcap and BGP_Flowspec_IPv6.pcap. Each contains single packet.
What is the current bug behavior?
In the Info column you can see the following message on red background:
[Dissector bug, protocol BGP: C:\gitlab-builds\builds-fyeYoMP\1\wireshark\wireshark\epan\tvbuff.c:4503: failed assertion "len > 0"]
What is the expected correct behavior?
Previous stable release 3.4.15 dissects such packets correctly. The error message doesn't appear and I can see all the UPDATE details.
Sample capture file
Relevant logs and/or screenshots
Build information
3.6.7 (v3.6.7-0-g4a304d7ec222)
Compiled (64-bit) using Microsoft Visual Studio 2019 (VC++ 14.31, build 31107),
with Qt 5.15.2, with libpcap, with GLib 2.66.4, with zlib 1.2.11, with Lua
5.2.4, with GnuTLS 3.6.3 and PKCS #11 support, with Gcrypt 1.8.3, with MIT
Kerberos, with MaxMind DB resolver, with nghttp2 1.44.0, with brotli, with LZ4,
with Zstandard, with Snappy, with libxml2 2.9.10, with libsmi 0.4.8, with
QtMultimedia, with automatic updates using WinSparkle 0.5.7, with AirPcap, with
SpeexDSP (using bundled resampler), with Minizip.
Running on 64-bit Windows 10 (21H2), build 19044, with Intel(R) Core(TM)
i5-6300U CPU @ 2.40GHz (with SSE4.2), with 8075 MB of physical memory, with GLib
2.66.4, with Qt 5.15.2, with Npcap version 1.60, based on libpcap version
1.10.2-PRE-GIT, with c-ares 1.17.0, with GnuTLS 3.6.3, with Gcrypt 1.8.3, with
nghttp2 1.44.0, with brotli 1.0.9, with LZ4 1.9.3, with Zstandard 1.4.0, without
AirPcap, with light display mode, without HiDPI, with
LC_TYPE=Polish_Poland.utf8, binary plugins supported (21 loaded).