bugMibble MIB Parser - Bugs: bug #18741, SizeConstraint validation for...


bug #18741: SizeConstraint validation for string values does not work

Submitted by:  Per Cederberg <cederberg>
Submitted on:  Wed 10 Jan 2007 08:59:20 AM 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.


Wed 10 Jan 2007 05:50:45 PM UTC, comment #2: 

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

Per Cederberg <cederberg>
Project AdministratorIn charge of this item.
Wed 10 Jan 2007 09:08:04 AM UTC, comment #1: 

This was originally reported by Paul Faid.

It has now been corrected and will be released in the final 2.8 version.

Per Cederberg <cederberg>
Project AdministratorIn charge of this item.
Wed 10 Jan 2007 08:59:20 AM UTC, original submission:  

The SizeConstraint.isCompatible(MibValue) method always returns false, effectively making a size constraint incompatible with all types of values. This is obviously incorrect and is probably some kind of remaining temporary code or similar.

A correct implementation should of course require that the value is of a StringValue type and has the correct string length.

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


Carbon-Copy List
  • -email is unavailable- added by cederberg (Submitted the item)

    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
    2007-01-10 cederberg StatusNone => Fixed

    Back to the top

    Powered by Savane 3.5