[zeromq-dev] zmq_msg_* functions don't check for message validity
Reuben Morais
reuben.morais at gmail.com
Sun Apr 10 21:25:50 CEST 2011
Recently I tracked down a segmentation fault to a zmq_msg_size call on a
closed message.
After doing some tests I found that all of the zmq_msg_ functions segfault
on closed messages,
and I wonder why those functions don't check for the message validity.
Pieter said that 3.0 added checks for sockets and contexts, so adding to the
messages as well sounds reasonable.
Cheers,
Reuben Morais
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110410/6f418971/attachment.htm>
More information about the zeromq-dev
mailing list