bugMibble MIB Parser - Bugs: bug #20960, Mib Loader errors on propriatory...

 
 

bug #20960: Mib Loader errors on propriatory mib

Submitted by:  Lachlan Hendy <hendinas>
Submitted on:  Mon 03 Sep 2007 02:02:19 AM UTC  
 
Severity: 2 - NormalItem Group: Software
Status: Wont FixPrivacy: Public
Assigned to: Per Cederberg <cederberg>Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 06 Apr 2008 08:03:09 PM UTC, comment #4:

Closing this issue with wontfix, since the problem was a validation issue.

Per Cederberg <cederberg>
Project AdministratorIn charge of this item.
Tue 04 Sep 2007 03:47:38 AM UTC, comment #3:

Thanks for your quick response! I will contact the MIB author with this information.

I would also be a supporter of a relaxed error checking mode.

Thanks

Lachlan Hendy <hendinas>
Mon 03 Sep 2007 06:56:31 PM UTC, comment #2:

Unsurprisingly, perhaps, I don't believe that this is really a bug in Mibble. Rather, it is an error in the MIB file. Mibble is known to use more strict validations than most other MIB file parsers out there, so it is not uncommon that errors are only reported here but not seen elsewhere.

See for example http://www.bgbm.org/TDWG/acc/Documents/asn1gloss.htm for more information on the ASN.1 syntax:


All names in ASN.1 are character strings drawn from the same set of characters, namely:

upper-case letters: ABCDEFGHIJKLMNOPQRSTUVWXYZ
lower-case letters: abcdefghijklmnopqrstuvwxyz
decimal digits: 0123456789
hyphen: -


That said, perhaps the strict error checking in Mibble should be possible to relax. See bug #7113 for more information about that. I'm leaving this bug as open for now, in order to consider it for inclusion in the next release. I do encourage you to contact the MIB author(s) to inform them about this error asap.

Per Cederberg <cederberg>
Project AdministratorIn charge of this item.
Mon 03 Sep 2007 04:22:49 PM UTC, comment #1:

Removed attached MIB after request from poster.

Per Cederberg <cederberg>
Project AdministratorIn charge of this item.
Mon 03 Sep 2007 02:02:19 AM UTC, original submission:

Hi Mibble Team,

I am having a problem loading a particular MIB file with the Mibble MibLoader class. I have tried loading the MIB in several freely available MIB Browsers, and none seem to have the same problem, so im thinking it may be a bug with Mibble, and not a syntax error in the mib. The errors i get are as follows...

---------------------------------

Error: in G:\stuff\sep\newMibs\hpxmib-1600.mib: line 1242:
unexpected character '%'

SYNTAX INTEGER{disable(1), ten%(2), twenty%(3), forty%(4)}
^
Error: in G:\stuff\sep\newMibs\hpxmib-1600.mib: line 1242:
unexpected character '%'

SYNTAX INTEGER{disable(1), ten%(2), twenty%(3), forty%(4)}
^
Error: in G:\stuff\sep\newMibs\hpxmib-1600.mib: line 1242:
unexpected character '%'

SYNTAX INTEGER{disable(1), ten%(2), twenty%(3), forty%(4)}
^

-----------------------------------

attatched is the MIB file that causes this error, I am using the latest stable version of Mibble 2.8.

Thanks for your help,
Lachlan Hendy

Lachlan Hendy <hendinas>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by cederberg (Posted a comment)
  • -unavailable- added by hendinas (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 06 Apr 2008 08:03:09 PM UTCcederbergStatusNone=>Wont Fix
      Open/ClosedOpen=>Closed
    Mon 03 Sep 2007 06:56:31 PM UTCcederbergSeverity5 - Major=>2 - Normal
      Assigned toNone=>cederberg
    Mon 03 Sep 2007 04:22:17 PM UTCcederbergAttached File#13872=>Removed
    Mon 03 Sep 2007 02:02:19 AM UTChendinasAttached File-=>Added hpxmib-1600.mib, #13872

    Back to the top


    Powered by Savane 3.1-cleanup1