Hi Marcel,
this seems to be a bug. Can you send a PR to fix this issue.
Thanks!
//Kevin
On Do, Mär 9, 2017 at 2:56 , Marcel Möhring
<[email protected]> wrote:
Hi,
I’m experiencing a buffer overflow when using utf-8 with an
zproto/gsl generated message class.
The framesize for strings seems to be calculated based on the number
of characters in a string.
Later the bytes of the string are put into a buffer and when the
string contains multi byte characters, the buffer overflows.
Has anyone else experienced this behavior?
Or is this behavior intended, i.e. am I using it wrong?
Cheers,
Marcel
--
[email protected]
http://www.catapullt.de/
Büro: +49 202 430427-20
Mobil: +49 173 7265151
Fax: +49 202 430427-09
catapullt GmbH & Co. KG
In der Gelpe 79
42349 Wuppertal
Geschäftsführer: Jürgen Weinrich
Amtsgericht: Wuppertal, HRA: 22523
_______________________________________________
zeromq-dev mailing list
[email protected]
https://lists.zeromq.org/mailman/listinfo/zeromq-dev