You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Ganesh Murthy (Jira)" <ji...@apache.org> on 2019/09/09 21:15:00 UTC

[jira] [Updated] (DISPATCH-1404) message annotation parsing incorrectly uses ->remainder for current buffer capacity

     [ https://issues.apache.org/jira/browse/DISPATCH-1404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ganesh Murthy updated DISPATCH-1404:
------------------------------------
    Affects Version/s:     (was: 1.9.0)

> message annotation parsing incorrectly uses ->remainder for current buffer capacity
> -----------------------------------------------------------------------------------
>
>                 Key: DISPATCH-1404
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1404
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Router Node
>            Reporter: Ken Giusti
>            Assignee: Ken Giusti
>            Priority: Major
>             Fix For: 1.9.0
>
>
> The following code uses _qd_iterator_pointer_t->remaining_ when computing the amount of data available in the current buffer:
> [parse.c|https://github.com/apache/qpid-dispatch/blob/master/src/parse.c#L739]
> _->remaining_ is the total amount of data remaining across the buffer chain.  This is likely larger than the amount of data in the current buffer.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

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