You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2014/05/20 22:35:39 UTC

[jira] [Resolved] (HBASE-11205) KeyValue#iscreate() should check the length of byte array

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

Andrew Purtell resolved HBASE-11205.
------------------------------------

    Resolution: Invalid

Not actionable. Check and do what? Feel free to reopen with a specific proposal or better a patch.

> 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: Trivial
>
> 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)