Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 3684] SNMP cannot be decoded in case of appended data to m

Date: Thu, 9 Jul 2009 09:03:24 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3684


Nathan Hartwell <nhartwell@xxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nhartwell@xxxxxxxxx




--- Comment #3 from Nathan Hartwell <nhartwell@xxxxxxxxx>  2009-07-09 09:03:23 PDT ---
I have attached a proposed patch to handle this situation.

The check was failing when it came to check if the suspected SNMP data took up
the rest of the tvb, which in this case it did not. I have modified this check
to enable the packet to be dissected by the SNMP dissector. Additionally it
will call the standard data dissector for the remaining 13 bytes of appended
data.

I did a quick fix in there as well as not all of the SNMP data was displayed
correctly in the tree view. When selecting the SNMP packet information the
first 5 bytes of the SNMP ASN.1 data were not getting highlighted (only part of
the version information was selected as well), and therefore the reported size
of the SNMP data was smaller than expected.


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