Wireshark-bugs: [Wireshark-bugs] [Bug 8455] New: Bug in Ethercat AMS Dissector

Date: Sat, 09 Mar 2013 11:47:55 +0000
Bug ID 8455
Summary Bug in Ethercat AMS Dissector
Classification Unclassified
Product Wireshark
Version SVN
Hardware x86
OS Windows 7
Status UNCONFIRMED
Severity Major
Priority Low
Component Dissection engine (libwireshark)
Assignee [email protected]
Reporter [email protected]

Created attachment 10222 [details]
Telegram No.6 shows malformed packet

Build Information:

--
AMS protocols of CmdId 9 (ADS Read Write) are shown as Malformed Packet.
Problem is in file
wireshark/plugins/ethercat/packet-ams.c

Line 553:

proto_tree_add_item(ams_adstree, hf_ams_adsdata, tvb, offset+16,
ams_length-offset, ENC_NA);

Should be:

proto_tree_add_item(ams_adstree, hf_ams_adsdata, tvb, offset,
ams_length-offset, ENC_NA);

because offset is still at the correct position.


You are receiving this mail because:
  • You are watching all bug changes.