[zeromq-dev] assert fail into sub.cpp line 150

Sebastien Petitdemange sebastien.petitdemange at esrf.fr
Mon Dec 21 14:08:24 CET 2009

Hi all,

I try to use filtering with setsockopt(ZMQ_SUBSCRIBE,"bla.*",5) and  
I've got an assertion fail when a message is received on that line:

zmq_assert (*data <= zmq_msg_size (msg_) - 1);

It seems that you compare the first char of the message with its size ?

Is it untested code or what should I do to avoid assertion failure?

Thanks in advance.


More information about the zeromq-dev mailing list