You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Robbie Gemmell (JIRA)" <ji...@apache.org> on 2019/05/29 18:54:00 UTC

[jira] [Resolved] (PROTON-2058) small/array8 byte array encodes incorrectly due to element count omission

     [ https://issues.apache.org/jira/browse/PROTON-2058?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robbie Gemmell resolved PROTON-2058.
------------------------------------
    Resolution: Fixed

> 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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org