Zheng Hu (JIRA)
2018-10-27 08:51:00 UTC
Zheng Hu created HBASE-21401:
--------------------------------
Summary: Sanity check in BaseDecoder#parseCell
Key: HBASE-21401
URL: https://issues.apache.org/jira/browse/HBASE-21401
Project: HBase
Issue Type: Sub-task
Reporter: Zheng Hu
Assignee: Zheng Hu
In KeyValueDecoder & ByteBuffKeyValueDecoder, we pass a byte buffer to initialize the Cell without a sanity check (check each field's offset&len exceed the byte buffer or not), so ArrayIndexOutOfBoundsException may happen when read the cell's fields, such as HBASE-213, it's hard to debug this kind of bug.
An earlier check will help to find such kind of bugs.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
--------------------------------
Summary: Sanity check in BaseDecoder#parseCell
Key: HBASE-21401
URL: https://issues.apache.org/jira/browse/HBASE-21401
Project: HBase
Issue Type: Sub-task
Reporter: Zheng Hu
Assignee: Zheng Hu
In KeyValueDecoder & ByteBuffKeyValueDecoder, we pass a byte buffer to initialize the Cell without a sanity check (check each field's offset&len exceed the byte buffer or not), so ArrayIndexOutOfBoundsException may happen when read the cell's fields, such as HBASE-213, it's hard to debug this kind of bug.
An earlier check will help to find such kind of bugs.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)