[
https://issues.apache.org/jira/browse/PROTON-3001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18137618#comment-18137618
]
ASF subversion and git services commented on PROTON-3001:
---------------------------------------------------------
Commit 14c0946daf5502ef587c8f80ca6a06b64ef78c81 in qpid-protonj2's branch
refs/heads/main from Timothy Bish
[ https://gitbox.apache.org/repos/asf?p=qpid-protonj2.git;h=14c0946d ]
PROTON-3001 Fix read of Sym8 Symbols from the stream decoder
Correctly mask the size byte when casting to int on the read from the
decoder to avoid a decode exception
> [protonj2] Symbol InputStream based decoder fails on size greater than 127
> --------------------------------------------------------------------------
>
> Key: PROTON-3001
> URL: https://issues.apache.org/jira/browse/PROTON-3001
> Project: Qpid Proton
> Issue Type: Bug
> Components: protonj2
> Affects Versions: protonj2-1.4.0
> Reporter: Timothy A. Bish
> Assignee: Timothy A. Bish
> Priority: Major
> Fix For: protonj2-1.5.0
>
>
> When reading the size byte the stream based decoder misses masking the value
> and returns a negative value than then triggers a decode exception.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]