SOME/IP: Resetting offset of static_array
Summary
Offset of static array (has no length field) is reset to 0.
Steps to reproduce
-
Unzip someip_static_array.zip to a directory for personal profile. (e.g. ~/.config/wireshark/profiles/
-
Launch Wireshark(3.2.x, 3.4.0) and select profile "someip_static_array".
-
Open static_array.pcap.
-
See SOME/IP Payload.
What is the current bug behavior?
Offset of static array is unexpected so its entries are wrong.
Payload
param1 [uint8]: 1
array param_array
array Array
ChildArray [uint8]: 1
ChildArray [uint8]: 2
ChildArray [uint8]: 3
array Array
ChildArray [uint8]: 1
ChildArray [uint8]: 2
ChildArray [uint8]: 3
What is the expected correct behavior?
Expected is Payload displays as following
Payload
param1 [uint8]: 1
array param_array
array Array
ChildArray [uint8]: 2
ChildArray [uint8]: 3
ChildArray [uint8]: 4
array Array
ChildArray [uint8]: 5
ChildArray [uint8]: 6
ChildArray [uint8]: 7
Sample capture file
Relevant logs and/or screenshots
Build information
3.2.7 (v3.2.7-0-gfb6522d84a3a)
Compiled (64-bit) with Qt 5.12.6, with libpcap, without POSIX capabilities, with
GLib 2.37.6, with zlib 1.2.11, with SMI 0.4.8, with c-ares 1.15.0, with Lua
5.2.4, with GnuTLS 3.4.17, with Gcrypt 1.8.5, 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 QtMultimedia, with automatic updates using
Sparkle, with SpeexDSP (using system library), with SBC, with SpanDSP, with
bcg729.
Running on Mac OS X 10.15.7, build 19H15 (Darwin 19.6.0), with Intel(R) Core(TM)
i7-8750H CPU @ 2.20GHz (with SSE4.2), with 32768 MB of physical memory, with
locale C, with dark display mode, with HiDPI, with libpcap version 1.9.1, with
GnuTLS 3.4.17, with Gcrypt 1.8.5, with brotli 1.0.7, with zlib 1.2.11, binary
plugins supported (19 loaded).
Built using clang 4.2.1 Compatible Apple LLVM 11.0.0 (clang-1100.0.33.16).