hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Beggs (JIRA)" <j...@apache.org>
Subject [jira] Created: (HBASE-1239) input buffer reading in the REST interface does not correctly clear the character buffer each iteration
Date Wed, 04 Mar 2009 20:43:56 GMT
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


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.


Mime
View raw message