You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Daniel Roudnitsky (Jira)" <ji...@apache.org> on 2025/10/19 16:47:00 UTC

[jira] [Created] (HBASE-29675) Add bounds check/specific OffsetOutOfBoundsException to BinaryComponentComparator

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)