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

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

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

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

(cherry picked from commit c5e2f7990ca82cdf682c8ee3e27ad611447e542e)


> 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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to