hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ryan rawson (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-3585) isLegalFamilyName() can throw ArrayOutOfBoundException
Date Wed, 02 Mar 2011 21:54:37 GMT

    [ https://issues.apache.org/jira/browse/HBASE-3585?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13001696#comment-13001696
] 

ryan rawson commented on HBASE-3585:
------------------------------------

interesting catch, can you provide a test and patch that fixes it?  we should probably throw
a better exception I think huh?

> isLegalFamilyName() can throw ArrayOutOfBoundException
> ------------------------------------------------------
>
>                 Key: HBASE-3585
>                 URL: https://issues.apache.org/jira/browse/HBASE-3585
>             Project: HBase
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 0.90.1
>            Reporter: Prakash Khemani
>            Priority: Minor
>
> org.apache.hadoop.hbase.HColumnDescriptor.isLegalFamilyName(byte[]) accesses byte[0]
w/o first checking the array length.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message