Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 37715 invoked from network); 21 Sep 2005 07:29:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Sep 2005 07:29:52 -0000 Received: (qmail 82043 invoked by uid 500); 21 Sep 2005 07:29:51 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 81998 invoked by uid 500); 21 Sep 2005 07:29:51 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 81985 invoked by uid 99); 21 Sep 2005 07:29:50 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Sep 2005 00:29:49 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 1494E121 for ; Wed, 21 Sep 2005 09:29:28 +0200 (CEST) Message-ID: <819186140.1127287768051.JavaMail.jira@ajax.apache.org> Date: Wed, 21 Sep 2005 09:29:28 +0200 (CEST) From: "Emmanuel Lecharny (JIRA)" To: dev@directory.apache.org Subject: [jira] Closed: (DIRSNICKERS-107) TwixDecoder cannot correctly handle controls In-Reply-To: <366206379.1127175747765.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ 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