Ken Giusti created DISPATCH-1404:
------------------------------------

             Summary: 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: Improvement
          Components: Router Node
    Affects Versions: 1.9.0
            Reporter: Ken Giusti
            Assignee: Ken Giusti
             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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to