hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-11205) KeyValue#iscreate() should check the length of byte array
Date Mon, 19 May 2014 22:17:38 GMT
Ted Yu created HBASE-11205:
------------------------------

             Summary: KeyValue#iscreate() should check the length of byte array
                 Key: HBASE-11205
                 URL: https://issues.apache.org/jira/browse/HBASE-11205
             Project: HBase
          Issue Type: Task
            Reporter: Ted Yu
            Priority: Minor


In KeyValue, at around line 2419 (trunk code):
{code}
    // TODO: perhaps some sanity check is needed here.
    byte [] bytes = new byte[Bytes.toInt(intBytes)];
{code}
We should check the value of Bytes.toInt(intBytes).



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message