etch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shingyu Kang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ETCH-288) Buffer Index is not updated after EtchFlexBuffer::put
Date Thu, 13 Feb 2014 22:40:19 GMT
Shingyu Kang created ETCH-288:
---------------------------------

             Summary: 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


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.1.5#6160)

Mime
View raw message