[
https://issues.apache.org/jira/browse/PROTON-3001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18137626#comment-18137626
]
ASF subversion and git services commented on PROTON-3001:
---------------------------------------------------------
Commit 86df861d222503850835ae355933fc103ce4b795 in qpid-protonj2's branch
refs/heads/main from Timothy Bish
[ https://gitbox.apache.org/repos/asf?p=qpid-protonj2.git;h=86df861d ]
PROTON-3001 Fix read of Sym8 Symbols from the SASL stream decoder
Correctly mask the size byte when casting to int on the read from the
SASL 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]