[
https://issues.apache.org/jira/browse/HBASE-29675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Roudnitsky updated HBASE-29675:
--------------------------------------
Summary: Add bounds check/descriptive OffsetOutOfBoundsException to
BinaryComponentComparator (was: Add bounds check/specific
OffsetOutOfBoundsException to BinaryComponentComparator)
> 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
>
> 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)