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

ASF GitHub Bot updated HBASE-29675:
-----------------------------------
    Labels: pull-request-available  (was: )

> Add bounds check/descriptive OffsetOutOfBoundsException to 
> BinaryComponentComparator
> ------------------------------------------------------------------------------------
>
>                 Key: HBASE-29675
>                 URL: https://issues.apache.org/jira/browse/HBASE-29675
>             Project: HBase
>          Issue Type: Sub-task
>          Components: Filters
>            Reporter: Daniel Roudnitsky
>            Assignee: Daniel Roudnitsky
>            Priority: Major
>              Labels: pull-request-available
>
> Add a bounds check before doing byte array comparison in 
> BinaryComponentComparator and throw a descriptive OffsetOutOfBoundsException 
> which subclasses ArrayIndexOutOfBoundsException instead of doing an unchecked 
> byte array comparison and throwing a nondescript 
> ArrayIndexOutOfBoundsException which is difficult for clients to decipher 
> root cause from. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to