Return-Path: Delivered-To: apmail-hadoop-hbase-dev-archive@minotaur.apache.org Received: (qmail 10906 invoked from network); 6 Mar 2009 06:44:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Mar 2009 06:44:30 -0000 Received: (qmail 79254 invoked by uid 500); 6 Mar 2009 06:44:23 -0000 Delivered-To: apmail-hadoop-hbase-dev-archive@hadoop.apache.org Received: (qmail 79241 invoked by uid 500); 6 Mar 2009 06:44:22 -0000 Mailing-List: contact hbase-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hbase-dev@hadoop.apache.org Delivered-To: mailing list hbase-dev@hadoop.apache.org Received: (qmail 79100 invoked by uid 99); 6 Mar 2009 06:44:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Mar 2009 22:44:20 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Mar 2009 06:44:17 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 41EDB234C4A9 for ; Thu, 5 Mar 2009 22:43:56 -0800 (PST) Message-ID: <1596318960.1236321836268.JavaMail.jira@brutus> Date: Thu, 5 Mar 2009 22:43:56 -0800 (PST) From: "stack (JIRA)" To: hbase-dev@hadoop.apache.org Subject: [jira] Resolved: (HBASE-1239) input buffer reading in the REST interface does not correctly clear the character buffer each iteration In-Reply-To: <1233739887.1236199436350.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-1239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] stack resolved HBASE-1239. -------------------------- Resolution: Fixed Committed. Thanks for the fix Brian. > input buffer reading in the REST interface does not correctly clear the character buffer each iteration > ------------------------------------------------------------------------------------------------------- > > Key: HBASE-1239 > URL: https://issues.apache.org/jira/browse/HBASE-1239 > Project: Hadoop HBase > Issue Type: Bug > Components: rest > Affects Versions: 0.20.0 > Environment: all > Reporter: Brian Beggs > Assignee: Brian Beggs > Fix For: 0.20.0 > > Attachments: hbase-inputbuffer.patch > > > when reading the input buffer in the REST interface the character buffer is not cleared for each iteration of the loop. This can cause malformed data to be read from the input stream in cases where the input is greater than 640 characters. > See lines numbered 366-376 in org.apache.hadoop.hbase.rest.Dispatcher.java > I have prepared a patch for this. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.