You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Brian Beggs (JIRA)" <ji...@apache.org> on 2009/03/04 21:51:56 UTC

[jira] Updated: (HBASE-1239) input buffer reading in the REST interface does not correctly clear the character buffer each iteration

     [ https://issues.apache.org/jira/browse/HBASE-1239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Beggs updated HBASE-1239:
-------------------------------

    Attachment: hbase-inputbuffer.patch

patch for the input buffer issue.

> 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.