You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lecharny (JIRA)" <di...@incubator.apache.org> on 2005/09/20 02:22:27 UTC

[jira] Created: (DIRSNICKERS-107) TwixDecoder cannot correctly handle controls

TwixDecoder cannot correctly handle controls
--------------------------------------------

         Key: DIRSNICKERS-107
         URL: http://issues.apache.org/jira/browse/DIRSNICKERS-107
     Project: Directory ASN1
        Type: Bug
  Components: Stateful Decoder API  
    Reporter: Emmanuel Lecharny
 Assigned to: Emmanuel Lecharny 
    Priority: Blocker


There are two problems :
1) Controls state automaton is incorrect. It has te be fixed
2) More critical : a problem arise when having a controls after a empty list of attributes. The recursive computation of the expected length is totally buggy and need some deep though. It has been patched several times without having clearly studied the impacts of those patches, and need some clear refactoring.

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


[jira] Closed: (DIRSNICKERS-107) TwixDecoder cannot correctly handle controls

Posted by "Emmanuel Lecharny (JIRA)" <di...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/DIRSNICKERS-107?page=all ]
     
Emmanuel Lecharny closed DIRSNICKERS-107:
-----------------------------------------

    Resolution: Fixed

The Controls are now correctly handle, so we can use JNDI again ! (No, JNDI is NOT broken, Emmanuel, your code is ;)

The other bug has been fixed too, even if it was not related to the first bug (it appears just because the PDU had an empty SEQUENCE OF attributes, a specific case that was not treated well in the Twix ASN1 Decoder.)




> TwixDecoder cannot correctly handle controls
> --------------------------------------------
>
>          Key: DIRSNICKERS-107
>          URL: http://issues.apache.org/jira/browse/DIRSNICKERS-107
>      Project: Directory ASN1
>         Type: Bug
>   Components: Stateful Decoder API
>     Reporter: Emmanuel Lecharny
>     Assignee: Emmanuel Lecharny
>     Priority: Blocker

>
> There are two problems :
> 1) Controls state automaton is incorrect. It has te be fixed
> 2) More critical : a problem arise when having a controls after a empty list of attributes. The recursive computation of the expected length is totally buggy and need some deep though. It has been patched several times without having clearly studied the impacts of those patches, and need some clear refactoring.

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