[ 
https://issues.apache.org/jira/browse/PROTON-3001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18137627#comment-18137627
 ] 

ASF subversion and git services commented on PROTON-3001:
---------------------------------------------------------

Commit 24633b509833f9f911532909f5d6c204ee48a336 in qpid-protonj2's branch 
refs/heads/1.x from Timothy Bish
[ https://gitbox.apache.org/repos/asf?p=qpid-protonj2.git;h=24633b50 ]

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

(cherry picked from commit 86df861d222503850835ae355933fc103ce4b795)


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

Reply via email to