[
https://issues.apache.org/jira/browse/HBASE-3585?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Uma Maheswara Rao G updated HBASE-3585:
---------------------------------------
Status: Patch Available (was: Open)
Still the ctor wraps it to empty array only. SO, it can throw AIOE in
isLegalFamilyName.
Added the preconditions check for empty FamilyName. It will throw
IllegalArgumentException if the familyName empty.
> 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
> Assignee: Uma Maheswara Rao G
> Priority: Minor
> Attachments: HBASE-3585.patch
>
>
> org.apache.hadoop.hbase.HColumnDescriptor.isLegalFamilyName(byte[]) accesses
> byte[0] w/o first checking the array length.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira