qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PROTON-1889) failure reading from composite buffer if expanded with new data after prior content was exhausted
Date Mon, 09 Jul 2018 16:00:00 GMT

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

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

Commit c5e2f7990ca82cdf682c8ee3e27ad611447e542e in qpid-proton-j's branch refs/heads/master
from [~gemmellr]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-proton-j.git;h=c5e2f79 ]

PROTON-1889: ensure array indexing is updated if needed when appending new content to the
composite


> failure reading from composite buffer if expanded with new data after prior content was
exhausted
> -------------------------------------------------------------------------------------------------
>
>                 Key: PROTON-1889
>                 URL: https://issues.apache.org/jira/browse/PROTON-1889
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-j
>    Affects Versions: proton-j-0.27.1
>            Reporter: Robbie Gemmell
>            Assignee: Robbie Gemmell
>            Priority: Major
>             Fix For: proton-j-0.28.0
>
>
> The CompositeReadableBuffer allows aggregating incoming byte[] data (e.g delivery frame
contents) to be used by other areas. If a CRB reads to the end of its existing content array(s)
and is then further expanded with more data as it becomes ready, the new content can't be
read and instead an IOOBE occurs.



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


Mime
View raw message