ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-bugs: [Wireshark-bugs] [Bug 5364] New: AgentX PDU Header 'hex field highlighting' inco

Date: Wed, 3 Nov 2010 07:20:58 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5364

           Summary: AgentX PDU Header 'hex field highlighting' incorrectly
                    spans extra bytes
           Product: Wireshark
           Version: 1.4.1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: fulko.hew@xxxxxxxxx


Build Information:
not important
--
The hex field highlighting when the 'PDU Header' sub-tree is selected
highlights 5 octets rather than the correct 4 (only) octets.

Line 824 in epan/dissectors/packet-agentx.c needs to be changed
to read as follows (ie. change the field length from 5 to 4):

pdu_item = proto_tree_add_text(agentx_tree, tvb, 0, 4, "PDU Header: Type[%u],
len=%d, sid=%d, tid=%d, packid=%d",

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.