bugMibble MIB Parser - Bugs: bug #17705, The AGENT-CAPABILITIES macro...

 
 

bug #17705: The AGENT-CAPABILITIES macro cannot contain default enumeration values

Submitted by:  Per Cederberg <cederberg>
Submitted on:  Tue 12 Sep 2006 05:50:01 AM UTC  
 
Severity:  9 - Critical 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.

 

Wed 10 Jan 2007 05:51:54 PM UTC, comment #3:

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

Per Cederberg <cederberg>
Project AdministratorIn charge of this item.
Wed 20 Sep 2006 07:23:57 PM UTC, comment #2:

Fixes for all related issues have now been committed to svn.

Per Cederberg <cederberg>
Project AdministratorIn charge of this item.
Wed 20 Sep 2006 06:45:35 PM UTC, comment #1:

Looking properly at the code, the AGENT-CAPABILITIES macro was almost correctly parsed. The referenced MIB module was loaded and the symbols looked up. The problem was only that DEFVAL clauses didn't lookup the names in the symbol type, but rather in the root context.

A fix for this issue has been committed to svn. Remains to handle the printing of the enumeration value when printing the DEFVAL clause in the pretty-printer.

Per Cederberg <cederberg>
Project AdministratorIn charge of this item.
Tue 12 Sep 2006 05:50:01 AM UTC, original submission:

The Mibble parser doesn't handle the AGENT-CAPABILITIES correctly. The supported modules should be automatically and locally loaded to be able to link symbols to their original incarnation. This is critical for DEFAULT-VALUE declarations that contain references to enumeration symbols, as a parse error will otherwise be triggered.

No easy workaround exist for this issue.

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:
   
   
Comment:
   

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)
  •  

    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 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-01-10 cederberg Open/ClosedOpen => Closed
    2006-09-20 cederberg StatusNone => Fixed

    Back to the top


    Powered by Savane 3.4