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 5731] New: Unable to configure zero length SNMP Engine ID

Date: Mon, 28 Feb 2011 13:15:31 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5731

           Summary: Unable to configure zero length SNMP Engine ID
           Product: Wireshark
           Version: 1.4.3
          Platform: Other
        OS/Version: Windows XP
            Status: NEW
          Severity: Major
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: pstath@xxxxxxxxxxxxx


Build Information:
Version 1.4.3 (SVN Rev 35482 from /trunk-1.4)
Windows XP 32-bit
--
When adding entries to the "USM Users" dialog, if the Engine ID fields is left
blank, the following message is displayed:

error updating record: Invalid engineId length (0). Must be between 5 and 32
(10 and 64 hex digits

If from a previous version of Wireshark one has USM entries defined which do
not have a value for Engine ID, the following error is displayed:

Error loading table 'SNMP Users': snmp_users:4: Invalid engineId length (0).
Must be between 5 and 32 (10 and 64 hex digits

It appears that this bug is a regression created by a fix to bug #5530.
Line 1934 in /trunk-1.4/asn1/snmp/packet-snmp-template.c r35459.

A zero length engine id is also valid, as it will be used when a more specific
USM entry is not found.

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