qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PROTON-1551) Large Binary encoded incorrectly via data API
Date Wed, 30 Aug 2017 16:08:00 GMT

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

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

Github user vkolomeyko commented on the issue:

    https://github.com/apache/qpid-proton-j/pull/10
  
    @gemmellr - squashed into a single commit and amended commit message as suggested


> Large Binary encoded incorrectly via data API
> ---------------------------------------------
>
>                 Key: PROTON-1551
>                 URL: https://issues.apache.org/jira/browse/PROTON-1551
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-j
>    Affects Versions: proton-j-0.20.0
>            Reporter: Rick Parker
>             Fix For: proton-j-0.21.0
>
>
> I've hit a bug at {{org.apache.qpid.proton.codec.impl.BinaryElement.java:122}}, as far
as I can tell.
> It writes out what should be an integer ({{putInt}}) as a byte ({{put}}) for lengths
greater than 255 and thus blows up when reading back.
> {{java.lang.IllegalArgumentException: Binary data size 1982890499 is specified to be
greater than the amount of data available (900)
> }}
> Would appreciate a rapid fix!  Cheers.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message