TECMP: reserved flag interpreted as part of timestamp
Summary
The current TECMP dissector in Wireshark 3.4 wrongly interprets the reserved flag as part of the timestamp.
I have prepared a patch.
Steps to reproduce
Open pcap with TECMP packet that has the Reserved Flag set in Timestamp.
What is the current bug behavior?
Timestamp is shown with wrong value.
What is the expected correct behavior?
Timestamp should be only 62bit and not 63bit long.
Build information
All Wireshark 3.4 releases have this problem.
For example: Version 3.4.3 (v3.4.3-0-g6ae6cd33)
Copyright 1998-2021 Gerald Combs gerald@wireshark.org and contributors. License GPLv2+: GNU GPL version 2 or later https://www.gnu.org/licenses/gpl-2.0.html This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Compiled (64-bit) with Qt 5.15.1, with libpcap, with GLib 2.52.3, with zlib 1.2.11, with SMI 0.4.8, with c-ares 1.15.0, with Lua 5.2.4, with GnuTLS 3.6.3 and PKCS #11 (closed) support, with Gcrypt 1.8.3, 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 WinSparkle 0.5.7, with AirPcap, with SpeexDSP (using bundled resampler), with Minizip.