bugMibble MIB Parser - Bugs: bug #16824, The Method Mib.getRootSymbol()...


bug #16824: The Method Mib.getRootSymbol() returns the wrong root symbol

Submitter:  Bernd Sorgenfrei <berndsorgenfrei>
Submitted:  Mon 12 Jun 2006 06:50:57 AM UTC
Severity:  5 - Major Item Group:  Software
Status:  Fixed Privacy:  Public
Assigned to:  cederberg Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup

Wed 10 Jan 2007 05:52:39 PM UTC, comment #3: 

Version 2.8, including a fix for this issue, has been released.

Per Cederberg <cederberg>
Group administrator
Sun 25 Jun 2006 12:28:20 PM UTC, comment #2: 

Fixed in Subversion.

Per Cederberg <cederberg>
Group administrator
Sun 25 Jun 2006 12:03:35 PM UTC, comment #1: 

Thanks for the stellar bug report! Quite trivial to fix this issue when you even provide a patch for it. :)

I'll have the bug fix available in 2.8.alpha1.

Per Cederberg <cederberg>
Group administrator
Mon 12 Jun 2006 06:50:57 AM UTC, original submission:  

The cause is that in method Mib.getRootSymbol() the "!" (not operator) is missing in "if".


The following code in Mib.getRootSymbol()
     if (root.getMib().equals(parent.getMib()))
should be changed to
     if (!root.getMib().equals(parent.getMib()))


Current behaviour:
Module identity      Root OID             Root Name
SNMPv2-SMI           1                    iso
RFC1155-SMI          1.3.6                dod
HOST-RESOURCES-MIB   hostResourcesMibModule
IANAifType-MIB          mib-2
IF-MIB               mib-2
Printer-MIB          mib-2
IANA-CHARSET-MIB          mib-2
IANA-PRINTER-MIB          mib-2
SNMPv2-MIB           snmpModules

Behaviour with fix:
Module identity      Root OID          Root Name
SNMPv2-SMI           1.3               org
RFC1155-SMI           internet
IANAifType-MIB    ianaifType
IF-MIB         ifMIB
Printer-MIB    printmib
SNMPv2-MIB      snmpMIB

Bernd Sorgenfrei <berndsorgenfrei>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by cederberg (Posted a comment)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.


    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-01-10 cederberg Open/ClosedOpen Closed
    2006-06-25 cederberg StatusNone Fixed
    2006-06-25 cederberg Assigned toNone cederberg

    Back to the top

    Powered by Savane 3.13-c373.
    Corresponding source code