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 12:11:00 UTC

[jira] [Created] (HBASE-25859) Reference class incorrectly parses the protobuf magic marker

Constantin-Catalin Luca created HBASE-25859:
-----------------------------------------------

             Summary: 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


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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)