hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prakash Khemani (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-3585) isLegalFamilyName() can throw ArrayOutOfBoundException
Date Thu, 03 Mar 2011 06:15:37 GMT

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

Prakash Khemani commented on HBASE-3585:
----------------------------------------

The ArrayOutOfBound exception happened when doing admin.create(htd) where the HTableDescriptor
htd had zero length "" family-name.





> 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