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

Reply via email to