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

 
 

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

Submitter:  Per Cederberg <cederberg>
Submitted:  Tue 12 Sep 2006 05:50:01 AM UTC
   
 
Severity:  9 - Critical 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:51:54 PM UTC, comment #3: 

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

Per Cederberg <cederberg>
Group administrator
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>
Group administrator
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>
Group administrator
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>
Group administrator

 

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

    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 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.13-c373.
    Corresponding source code