Bug ID |
13125
|
Summary |
Checksum field of GDB RSP parsed as data byte instead of an ascii encoded hex byte
|
Product |
Wireshark
|
Version |
2.2.1
|
Hardware |
x86-64
|
OS |
Windows 10
|
Status |
UNCONFIRMED
|
Severity |
Trivial
|
Priority |
Low
|
Component |
Dissection engine (libwireshark)
|
Assignee |
[email protected]
|
Reporter |
[email protected]
|
Created attachment 15061 [details]
Screenshot of the example explained in the report.
Build Information:
Version 2.2.1 (v2.2.1-0-ga6fbd27 from master-2.2)
Copyright 1998-2016 Gerald Combs <[email protected]> and contributors.
License GPLv2+: GNU GPL version 2 or later
<http://www.gnu.org/licenses/old-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.6.1, with WinPcap (4_1_3), with GLib 2.42.0, with
zlib 1.2.8, with SMI 0.4.8, with c-ares 1.12.0, with Lua 5.2.4, with GnuTLS
3.2.15, with Gcrypt 1.6.2, with MIT Kerberos, with GeoIP, with QtMultimedia,
with AirPcap.
Running on 64-bit Windows 10, build 14393, with locale English_United
States.1252, with WinPcap version 4.1.3 (packet.dll version 0.10r18), based on
libpcap version 1.0 branch 1_0_rel0b (20091008), with GnuTLS 3.2.15, with
Gcrypt
1.6.2, without AirPcap.
Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz (with SSE4.2), with 16338MB of
physical memory.
Built using Microsoft Visual C++ 12.0 build 40629
Wireshark is Open Source Software released under the GNU General Public
License.
Check the man page and http://www.wireshark.org for more information.
--
Overview: The GDB Remote Serial Protocol (RSP) has a checksum field consisting
of two ASCII encoded hex digits. The GDB RSP dissector only reads out the first
byte of the checksum field and reports it as the checksum.
Steps to Reproduce:
1. Capture GDB RSP traffic
2. Decode traffic for your GDB Server port as "GDB Remote"
3. Look at the checksum field for a GDB packet
Actual Results:
Example GDB Packet: +$Hg0#df
GDB checksum: 0xdf
Wireshark checksum: 0x64 (ASCII d)
Expected Results: The Wireshark checksum above should be the same as the GDB
checksum.
Additional Information:
GDB RSP packet definition:
https://sourceware.org/gdb/onlinedocs/gdb/Overview.html
You are receiving this mail because:
- You are watching all bug changes.