You are viewing a plain text version of this content. The canonical link for it is here.
Posted to proton@qpid.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/01/28 18:18:35 UTC

[jira] [Commented] (PROTON-807) Proton does not decode AMQP small long encoding correctly and does not use it.

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

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

Commit 249685a8cb675ab6fc16b14828fac2da949c9510 in qpid-proton's branch refs/heads/master from [~aconway]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-proton.git;h=249685a ]

PROTON-807: Fix incorrect decoding of small long values.

codec/decoder.c: Was treating signed small long values as unsigned.
proton-j/src/main/resources/ccodec.py: Added missing byte operations, fix ulong decoeing.
tests/python/proton_tests/codec.py: Test all integer types, positive, negative and min/max.


> Proton does not decode AMQP small long encoding correctly and does not use it.
> ------------------------------------------------------------------------------
>
>                 Key: PROTON-807
>                 URL: https://issues.apache.org/jira/browse/PROTON-807
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-c
>    Affects Versions: 0.8
>            Reporter: Alan Conway
>            Assignee: Alan Conway
>             Fix For: 0.9
>
>
> Proton incorrectly decodes an AMQP small long encoded value of -1 as 255.
> Proton itself never uses the small long encoding but qpid dispatch does, which is where this cropped up.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)