[zeromq-dev] possible bug in zframe.c ?

Pieter Hintjens ph at imatix.com
Tue Jun 18 10:29:27 CEST 2013


Laurent,

> I am not an expert, but it looks to me that the room for "..." has not been
> allocated. If my analysis is correct, a possible correction would be:

There's no bug, the code is correct (the variable name is indeed misspelled).

What the C code does is define a pointer to a constant string ("""),
which it then switches to a different constant string ("...") if it
wants to print that out, and then it finally uses the pointer in the
fprintf call. There's no allocation happening.

-Pieter



More information about the zeromq-dev mailing list