[ 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)