You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@etch.apache.org by "Martin Veith (JIRA)" <ji...@apache.org> on 2014/03/20 11:44:42 UTC

[jira] [Resolved] (ETCH-288) Buffer Index is not updated after EtchFlexBuffer::put

     [ 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)