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

 
 

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

Submitted by:  Kevin Ruland <kruland>
Submitted on:  Tue 23 Feb 2010 05:45:53 PM UTC  
 
Severity: 5 - MajorItem Group: Software
Status: NonePrivacy: Public
Assigned to: Per Cederberg <cederberg>Open/Closed: Open

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

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>
Project AdministratorIn charge of this item.
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 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 kruland (Submitted the item)
  • -unavailable- added by kruland
  •  

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

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 23 Feb 2010 06:39:31 PM UTCcederbergAssigned toNone=>cederberg
    Tue 23 Feb 2010 05:45:53 PM UTCkrulandCarbon-Copy-=>Added kruland

    Back to the top


    Powered by Savane 3.1-cleanup1