GithubHelp home page GithubHelp logo

Comments (4)

IniterWorker avatar IniterWorker commented on August 16, 2024

It's working properly in 3.1.1.

from opendnp3.

emgre avatar emgre commented on August 16, 2024

I'm just a few minutes too late, but it was indeed fixed in 3.1.1 in this PR: #412
It would only happen when you have octet strings of different sizes within the same response.

I played a bit with the octet strings this morning to validate the changes and found that the PrintingSOEHandler does not print the size properly (the size is interpreted as an ASCII character). I'm fixing it atm, but if you are using it and find some weird characters in the console, be advised that it will be fixed in the next release.

from opendnp3.

IniterWorker avatar IniterWorker commented on August 16, 2024

@emgre,

For 3.0.4, I forgot something about some memory overlap during my testing. I saw sometimes the chars from the string replace the type object during the master parsing or/and the outstation sending. I bound a Valgrind instance on both and no memory move was spotted. Maybe another issue if I see it again.

Tanks for PR ref.

from opendnp3.

emgre avatar emgre commented on August 16, 2024

My guess would be that the issue I pointed to would create that kind of behaviour. If you have a smaller octet string followed by a bigger one, then the counts get all messed up and a parser will interpret part of the octet string as a group/variation. I'd be surprised to see it happen in 3.1.1, but if you are able to replicate it, try to capture a pcap of it.

from opendnp3.

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.