bugMibble MIB Parser - Bugs: bug #22854, Binary and hexadecimal constant...

 
 

bug #22854: Binary and hexadecimal constant padding is sometimes removed

Submitted by:  Per Cederberg <cederberg>
Submitted on:  Sun 06 Apr 2008 06:17:28 PM 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.

 

Sat 04 Apr 2009 09:09:33 AM UTC, comment #2:

Version 2.9 was released on 2009-03-19.

Per Cederberg <cederberg>
Project AdministratorIn charge of this item.
Sun 06 Apr 2008 08:01:44 PM UTC, comment #1:

Fixed in version 2.9.alpha2.

Per Cederberg <cederberg>
Project AdministratorIn charge of this item.
Sun 06 Apr 2008 06:17:28 PM UTC, original submission:

Some binary and hexadecimal values are still printed with the wrong number of characters. The implementation from issue #17834 only takes the lowest size range value into consideration, so ranges like SIZE (0 | 2 | 4) or similar only require a minimum printing length of 0. Hence, in the current implementation '05'H would print to '5'H instead.

The solution to this issue is probably to only consider the size range values larger or equal to the initial value specification. In such a solution, no padding zeros would ever be removed, but padding might still be added in some cases.

Thanks to M.S.Thiraviyakumar for reporting this and providing a patch.

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:
   
   
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 (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
    2009-04-04 cederberg Open/ClosedOpen => Closed
    2008-04-06 cederberg StatusNone => Fixed

    Back to the top


    Powered by Savane 3.4