Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 67459 invoked from network); 12 Jan 2006 00:38:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Jan 2006 00:38:48 -0000 Received: (qmail 12199 invoked by uid 500); 12 Jan 2006 00:38:43 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 12100 invoked by uid 500); 12 Jan 2006 00:38:42 -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 12089 invoked by uid 99); 12 Jan 2006 00:38:42 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= 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, 11 Jan 2006 16:38:42 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 83682199 for ; Thu, 12 Jan 2006 01:38:21 +0100 (CET) Message-ID: <1228066045.1137026301536.JavaMail.jira@ajax.apache.org> Date: Thu, 12 Jan 2006 01:38:21 +0100 (CET) From: "peter royal (JIRA)" To: dev@directory.apache.org Subject: [jira] Updated: (DIRMINA-164) ByteBuffer.getString() adds a null when null-padded and at end of buffer In-Reply-To: <416581163.1137026180557.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/DIRMINA-164?page=all ] peter royal updated DIRMINA-164: -------------------------------- Attachment: ByteBuffer.diff This is against the trunk before the SVN move. I have not updated to match the new layout yet since you guys are going to move it again. It should still apply cleanly though. > ByteBuffer.getString() adds a null when null-padded and at end of buffer > ------------------------------------------------------------------------ > > Key: DIRMINA-164 > URL: http://issues.apache.org/jira/browse/DIRMINA-164 > Project: Directory MINA > Type: Bug > Versions: 0.9 > Reporter: peter royal > Attachments: ByteBuffer.diff > > ByteBuffer.getString() leaves the null terminator in strings when the null is the last character in the buffer. -- 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