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

ASF GitHub Bot commented on PROTON-2057:
----------------------------------------

iongchun commented on pull request #34: PROTON-2057 fix short array decoding
URL: https://github.com/apache/qpid-proton-j/pull/34
 
 
   1. Do not give ensureRemaining() a negative value
   2. Add missed writeRaw((byte)a.length) for byte array
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> AMQP short array is not decoded correctly
> -----------------------------------------
>
>                 Key: PROTON-2057
>                 URL: https://issues.apache.org/jira/browse/PROTON-2057
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-j
>    Affects Versions: proton-j-0.32.0
>         Environment: OS: RHEL 7.2
> JRE: OpenJDK Runtime Environment (build 1.8.0_102-b14)
> proton-j 0.32.0 and 0.33.0
> qpid-jms-client 0.41.0 and 0.42.0
>            Reporter: Ang Iongchun
>            Priority: Major
>
> Receiving a AMQP short array (length less than 256) with qpid-jms-client 
> causes this error in log:
>  
> [AmqpProvider :(1):[amqp://localhost:5672]] WARN o.a.q.j.p.a.AmqpConsumer - 
> Error on transform: minWritableBytes: -92 (expected: >= 0)
>  
> The message is still kept in queue.
>  



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