bugMibble MIB Parser - Bugs: bug #28992, Mibble ObjectIdentifierValue...

 
 

bug #28992: Mibble ObjectIdentifierValue cannot hold largest possible SNMP subidentifier

Submitter:  Kevin Ruland <kruland>
Submitted:  Tue 23 Feb 2010 05:45:53 PM UTC
   
 
Severity:  5 - Major Item Group:  Software
Status:  None Privacy:  Public
Assigned to:  cederberg Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 23 Feb 2010 06:39:31 PM UTC, comment #1: 

Is this really a problem in practice, though? It seems awfully unlikely that some actual MIB file should use such an OID except for validation purposes.

I'm asking in order to estimate the priority of this fix.

Per Cederberg <cederberg>
Group administrator
Tue 23 Feb 2010 05:45:53 PM UTC, original submission:  

SNMP identifier elements are restricted to the range 0 to 4,294,967,295.

However, Mibble net.percederberg.mibble.value.ObjectIdentiferValue uses a Java int to hold the subidentifier.  Since Java ints are limited to 2,147,483,647, large subidentifier values overflow.

If the value member variable were changed to Java long, there would be no overflow.

Kevin Ruland <kruland>

 

(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)
  • -email is unavailable- added by kruland (Submitted the item)
  • -email is unavailable- added by kruland
  •  

    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
    2010-02-23 cederberg Assigned toNone cederberg
    2010-02-23 kruland Carbon-Copy- Added kruland

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code