Return-Path: Delivered-To: apmail-incubator-directory-dev-archive@www.apache.org Received: (qmail 80824 invoked from network); 25 Feb 2005 16:19:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 25 Feb 2005 16:19:48 -0000 Received: (qmail 79221 invoked by uid 500); 25 Feb 2005 16:19:44 -0000 Delivered-To: apmail-incubator-directory-dev-archive@incubator.apache.org Received: (qmail 79152 invoked by uid 500); 25 Feb 2005 16:19:44 -0000 Mailing-List: contact directory-dev-help@incubator.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 directory-dev@incubator.apache.org Received: (qmail 79115 invoked by uid 99); 25 Feb 2005 16:19:44 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 25 Feb 2005 08:19:43 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (8.12.11/8.12.11) with ESMTP id j1PFfqT4014865 for ; Fri, 25 Feb 2005 16:41:52 +0100 Message-ID: <1970752646.1109346112814.JavaMail.jira@ajax.apache.org> Date: Fri, 25 Feb 2005 16:41:52 +0100 (CET) From: "Alan Cabrera (JIRA)" To: directory-dev@incubator.apache.org Subject: [jira] Commented: (DIRSNICKERS-102) The Length' s nuber of byte must not be 127 In-Reply-To: <178727367.1108176552026.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DIRSNICKERS-102?page=comments#action_59765 ] Alan Cabrera commented on DIRSNICKERS-102: ------------------------------------------ In the future, patches should include the path starting from asn1. This will make it easier to apply the patches. > The Length' s nuber of byte must not be 127 > ------------------------------------------- > > Key: DIRSNICKERS-102 > URL: http://issues.apache.org/jira/browse/DIRSNICKERS-102 > Project: Directory Snickers > Type: Bug > Components: BER Runtime > Reporter: Emmanuel Lecharny > Assignee: Alan Cabrera > Attachments: Length-branches.diff, Length-trunk.diff, LengthTest-branche.diff, LengthTest-trunk.diff > > in class Length (/asn1-ber/src/java/org/apache/asn1/ber/Lengrh.java, in both trunk and branches), the number of bytes that is necessary to encode the Value length MUST NOT be == 127 (this value is reserved for future extension : ITU-T X690, 8.1.3.5, c)) > I don't think that we have to deal with indefinite length, and I expect so, because the code does not accept thid kind f Length. > Diff files attached. > Unit Test TBD. -- 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 - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira