Daniel Roudnitsky created HBASE-29675:
-----------------------------------------
Summary: Add bounds check/specific 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
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)