etch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Veith (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (ETCH-288) Buffer Index is not updated after EtchFlexBuffer::put
Date Thu, 20 Mar 2014 10:44:42 GMT

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

Martin Veith resolved ETCH-288.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 1.4

This issue should be fixed as well by the patch provided for the related issue.

> Buffer Index is not updated after EtchFlexBuffer::put
> -----------------------------------------------------
>
>                 Key: ETCH-288
>                 URL: https://issues.apache.org/jira/browse/ETCH-288
>             Project: Etch
>          Issue Type: Bug
>          Components: binding-cpp
>    Affects Versions: 1.3.0
>         Environment: Linux and iOS
>            Reporter: Shingyu Kang
>             Fix For: 1.4
>
>
> EtchFlexBuffer::put doesn't not update index of a buffer passed as an argument.
> after copy of buffer's data, buffer's index has to be advanced by.
> e.g
>   buffer.mIndex += buffer.getAvailableBytes()
>   or
>   buffer.mIndex += numBytes.
> When multiple packets are contained in EtchFlexBuffer, this bug causes SIG is corrupt
in EtchPacketizer.cpp



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message