bugMibble MIB Parser - Bugs: bug #16681, ASCII control characters are not...


bug #16681: ASCII control characters are not ignored

Submitted by:  Per Cederberg <cederberg>
Submitted on:  Sun 28 May 2006 02:11:43 PM UTC  
Severity:  2 - Normal Item Group:  Software
Status:  Fixed Privacy:  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 28 May 2006 09:07:25 PM UTC, comment #2:

Version 2.7 has now been released. Closing this bug.

Per Cederberg <cederberg>
Project AdministratorIn charge of this item.
Sun 28 May 2006 02:36:15 PM UTC, comment #1:

This has now been fixed in the ASN.1 grammar. The parser will now ignore the following additional ASCII control characters (treating them as whitespace):


See http://www.cs.tut.fi/~jkorpela/chars/c0.html for more information.

This fix will be released in version 2.7.

Per Cederberg <cederberg>
Project AdministratorIn charge of this item.
Sun 28 May 2006 02:11:43 PM UTC, original submission:

The Mibble MIB parser ignores spaces, tabs and newline characters. But various other ASCII control characters cause parsing (rather tokenizing) errors. These are not so frequently occurring inside MIB files, but could on the other hand easily be ignored by the parser (adding them to the generic whitespace token).

This issue was reported by Gary Pientka:

I am loading a couple MIB files that happen to have a stray character after 'END'. This stray character (ASCII 26) causes the MIB not to load. Obviously the easiest solution is to remove this character from the files. Other SNMP APIs and MIB browser we use around here do not have any issue with this stray character. Is there an easy fix or workaround for this besides editing the MIB file?

Per Cederberg <cederberg>
Project AdministratorIn charge of this item.


(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


CC list is empty


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

Only logged-in users can vote.




Follow 3 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2006-05-28 cederberg Open/ClosedOpen => Closed
2006-05-28 cederberg StatusNone => Fixed
2006-05-28 cederberg Carbon-Copy- => Added gary.pientka@arrisi.com

Back to the top

Powered by Savane 3.4