Dissection error in AMQP 1.0
Summary
When decoding an AMQP packet, the packet is not properly decoded. Both manual decoding (boring!) and using a proprietary java program show no problems.
Steps to reproduce
Decode the attached packet.
What is the current bug behavior?
The "Application Properties" section is not decoded properly. Should be a simple map of 3 items. WS shows the 1st and 3rd items, then complains, then shows the 3rd item again (correct name, bogus value)
the main element "list-item(vbin8)" (last line) is correct again.
The proprietary java program shows:
... (Application Properties only:)
2023-07-07T01:18:54.438 INFO map:map8 61bytes 6items (3pairs) (00000000:00000074=APPLICATION-PROPERTIES)
2023-07-07T01:18:54.438 INFO string:str8-utf8 len=17 "JMSXDeliveryCount"
2023-07-07T01:18:54.438 INFO null
2023-07-07T01:18:54.438 INFO string:str8-utf8 len=14 "mqtt.qos.level"
2023-07-07T01:18:54.439 INFO int:smallint 0
2023-07-07T01:18:54.439 INFO string:str8-utf8 len=19 "mqtt.message.retain"
2023-07-07T01:18:54.439 INFO boolean:false
...
What is the expected correct behavior?
simple map of 3 items should be shown
Sample capture file
Relevant logs and/or screenshots
Build information
Version 4.0.6 (v4.0.6-0-gac2f5a01286a).
Compiled (64-bit) using Microsoft Visual Studio 2022 (VC++ 14.32, build 31332),
with GLib 2.72.3, with PCRE2, with zlib 1.2.12, with Qt 5.15.2, with libpcap,
with Lua 5.2.4, with GnuTLS 3.6.3 and PKCS #11 support, with Gcrypt 1.10.1, with
Kerberos (MIT), with MaxMind, with nghttp2 1.46.0, with brotli, with LZ4, with
Zstandard, with Snappy, with libxml2 2.9.14, with libsmi 0.4.8, with
QtMultimedia, with automatic updates using WinSparkle 0.5.7, with AirPcap, with
SpeexDSP (using bundled resampler), with Minizip, with binary plugins.
Running on 64-bit Windows 10 (21H2), build 19044, with 12th Gen Intel(R)
Core(TM) i7-12850HX (with SSE4.2), with 32452 MB of physical memory, with GLib
2.72.3, with PCRE2 10.40 2022-04-14, with Qt 5.15.2, with Npcap version 1.75,
based on libpcap version 1.10.4, with c-ares 1.18.1, with GnuTLS 3.6.3, with
Gcrypt 1.10.1, with nghttp2 1.46.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
LC_TYPE=Dutch_Netherlands.utf8, binary plugins supported.
Edited by Erwin Dondorp