[zeromq-dev] What causes assert(*tmpbuf < 0) to trip?

Martin Sustrik sustrik at 250bpm.com
Wed Nov 24 10:22:54 CET 2010


Dana,
> Is there anyway that the message payload influences the first byte of 
> tmpbuf? I've tried tracing the code but it is plenty confusing. It 
> seems like this first byte should be some header information that I 
> can't muck with.

No, the first byte should be always 1 or greater (there's at least 
'flags' byte in the message).

Do you have a minimal test program to demonstrate the bug?

Martin



More information about the zeromq-dev mailing list