You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Constantin-Catalin Luca (Jira)" <ji...@apache.org> on 2021/05/06 13:13:00 UTC
[jira] [Updated] (HBASE-25859) Reference class incorrectly parses
the protobuf magic marker
[ https://issues.apache.org/jira/browse/HBASE-25859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Constantin-Catalin Luca updated HBASE-25859:
--------------------------------------------
Description:
The Reference class incorrectly parses the protobuf magic marker.
It uses:
{code:java}
// DataInputStream.read(byte[lengthOfPNMagic]){code}
but this call does not guarantee to read all the bytes of the marker.
The fix is the same as the one for https://issues.apache.org/jira/browse/HBASE-25674
was:
The Reference class incorrectly parses the protobuf magic marker.
It uses:
`DataInputStream.read(byte[lengthOfPNMagic])` but this call does not guarantee to read all the bytes the marker.
The fix is the same as the one for https://issues.apache.org/jira/browse/HBASE-25674
> Reference class incorrectly parses the protobuf magic marker
> ------------------------------------------------------------
>
> Key: HBASE-25859
> URL: https://issues.apache.org/jira/browse/HBASE-25859
> Project: HBase
> Issue Type: Bug
> Components: regionserver
> Affects Versions: 2.4.1
> Reporter: Constantin-Catalin Luca
> Assignee: Constantin-Catalin Luca
> Priority: Minor
>
> The Reference class incorrectly parses the protobuf magic marker.
> It uses:
> {code:java}
> // DataInputStream.read(byte[lengthOfPNMagic]){code}
> but this call does not guarantee to read all the bytes of the marker.
> The fix is the same as the one for https://issues.apache.org/jira/browse/HBASE-25674
--
This message was sent by Atlassian Jira
(v8.3.4#803005)