Git Product home page Git Product logo

Comments (2)

reicheratwork avatar reicheratwork commented on May 29, 2024
  1. getting a length field of 0 should never appear in valid CDR data, as the length field for a string includes the terminating NULL (CORBA v3.3 9.3.2.7) so this is always a minimum of 1, but since the reading has to be able to correctly handle even incorrect CDR streams, a check on string_length > 0 is a necessary addition, the fix for this is already in PR #112
  2. this is indeed an error, as the CDR stream that you provide is correct, there is an issue with the entity being read with the cursor from before the alignment step is done, i will work on a fix for this

The stream you provided is in little-endian format, which is not reflected in the endianness flag set in the message header (byte offset 1 = 0x0)

from cyclonedds-cxx.

sumanth-nirmal avatar sumanth-nirmal commented on May 29, 2024

The stream you provided is in little-endian format, which is not reflected in the endianness flag set in the message header (byte offset 1 = 0x0)

That's because of my incorrect hand serialization, but the header should actually reflect little endianness (offset 1 = 0x1)

from cyclonedds-cxx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.