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


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

Submitter:  Per Cederberg <cederberg>
Submitted:  Wed 10 Jan 2007 08:59:20 AM UTC
Severity:  2 - Normal 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:50:45 PM UTC, comment #2: 

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

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


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

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

    Back to the top

    Powered by Savane 3.13-c373.
    Corresponding source code