You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2019/09/06 12:33:00 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16924214#comment-16924214 ]
ASF subversion and git services commented on DISPATCH-1404:
-----------------------------------------------------------
Commit 60f53bf4c121f0c39d77869b3d71be9d9cb5b31f in qpid-dispatch's branch refs/heads/master from Ken Giusti
[ https://gitbox.apache.org/repos/asf?p=qpid-dispatch.git;h=60f53bf ]
DISPATCH-1404: fix computation of message annotation field length
> 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
> Affects Versions: 1.9.0
> 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