Closed hellow554 closed 3 years ago
Hello, this exact bug was reported in the JS-repo and fixed a minute ago. Please try latest master and I will make a new release.
Can confirm it works, thanks for that!
Also funny, that it was reported the same at the other repo :D I wasn't aware of that and it was not on purpose.
Hey everyone,
this seems to be an issue with sub/pub messages and compression enabled.
You can find my somewhat minified example here:
https://gist.github.com/hellow554/bc5b6759ac5dd026b83d3567182d3848
This example uses jsoncpp and libfmt, so you need to have that installed, but it should be available in your package manager.
Here's an asan dump:
As you can see, the heap will overflow. This is because it tries to allocate 578494337 bytes of data, which failes and then it tries to write it nevertheless.
This bug doesn't occur, if you disable compression in the settings.
If you need any further information, please let me know.