Ethereal-dev: [Ethereal-dev] Modbus/TCP bug report

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Ken Wong <ken.wong@xxxxxxxx>
Date: Wed, 07 May 2003 10:27:40 -0600
Howdy,

I've found a bug with the Modbus/TCP dissector that when the "unit
identifier" is greater than 128, it is displayed incorrectly in the tree
view. It seems to get interpreted as an UINT32 (with sign extended from
an INT8) rather than an UINT8. However, it is correctly shown in the
packet list view.

I've attached two packet capture files (one with unit_id as 1; one with
unit_id as 150) and the screen capture files for someone to find and fix
the bug. This bug is of annoyance and inconvenient in nature. BTW, I'm
using the 0.9.12 Win32 binary on WinME.

Regards,
Ken

Attachment: mbtcp1.pcap
Description: Binary data

Attachment: mbtcp1_pcap.gif
Description: GIF image

Attachment: mbtcp150.pcap
Description: Binary data

Attachment: mbtcp150_pcap.gif
Description: GIF image