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

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

Commit b666d6a165af7835bde12e0e41de2ca6109126d9 in qpid-proton-j's branch 
refs/heads/master from Robert Gemmell
[ https://gitbox.apache.org/repos/asf?p=qpid-proton-j.git;h=b666d6a ]

PROTON-2058: ensure small/array8 byte array encoding writes element count

Change split out from #34 by Ang Iongchun, plus tests from me.


> small/array8 byte array encodes incorrectly due to element count omission
> -------------------------------------------------------------------------
>
>                 Key: PROTON-2058
>                 URL: https://issues.apache.org/jira/browse/PROTON-2058
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-j
>    Affects Versions: proton-j-0.30.0, proton-j-0.31.0, proton-j-0.32.0, 
> proton-j-0.33.0
>            Reporter: Robbie Gemmell
>            Assignee: Robbie Gemmell
>            Priority: Major
>             Fix For: proton-j-0.34.0
>
>
> While encoding a small/array8 byte array of <=253 elements, the encoder 
> erroneously omits the element count, leading to a broken encoding (those with 
> >=128 elements will fail to encode at all, due to PROTON-2057) that can lead 
> to a decode failure.
> This was introduced during proton-j 0.30.0 changes for PROTON-1941.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to