You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Michael Stack (Jira)" <ji...@apache.org> on 2021/08/11 04:58:00 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17397067#comment-17397067 ]
Michael Stack commented on HBASE-25859:
---------------------------------------
[~catalin.luca] I closed the PR against branch-1.4. 1.4 is EOL'd. The PR applies to branch-1 and compiles but we think we've made our last release of branch-1 recently... it was 1.7.1. FYI.
> 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
> Fix For: 3.0.0-alpha-1, 2.5.0, 2.4.3
>
>
> 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)