Apache Directory Project - [jira] Resolved: (DIRSERVER-745) Decoding of lengths can fail if

This is Interesting: Free IT Magazines  
Home > Archive > Apache Directory Project > October 2006 > [jira] Resolved: (DIRSERVER-745) Decoding of lengths can fail if





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [jira] Resolved: (DIRSERVER-745) Decoding of lengths can fail if
Emmanuel Lecharny (JIRA)

2006-10-02, 1:11 pm

[ http://issues.apache.org/jira/brows...ER-745?page=all ]

Emmanuel Lecharny resolved DIRSERVER-745.
-----------------------------------------

Resolution: Fixed

It has been fixed two weeks ago. It was a bug in the way lengths were handled

> Decoding of lengths can fail if the PDU is splitted
> ---------------------------------------------------
>
> Key: DIRSERVER-745
> URL: http://issues.apache.org/jira/browse/DIRSERVER-745
> Project: Directory ApacheDS
> Issue Type: Bug
> Reporter: Emmanuel Lecharny
> Assigned To: Emmanuel Lecharny
>
> While reading the ASN.1 decoder code, I found a pretty nasty case where the decoding can fail during length decoding :
> if the length is more than 2 bytes long, and if the PDU is splitted just after the second byte, then we can have a BufferUnderFlowException.
> This can occur because we are reading the buffe without controlling that we still have some remaining bytes.


--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secur...nistrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com