[zeromq-dev] crash in send_unsubscription

Chris Swinford swinchrk at gmail.com
Sun Apr 28 10:27:16 CEST 2013


Martin Hurton <hurtonm <at> gmail.com> writes:

> Just curious, what OS and C library are you using?
> 
> I think we should check for NULL pointers even when n is zero.
> Could you please create a pull request so we can merge this? Thanks.
> 
> - Martin
> 


I saw the same thing in a debug build in Windows 7 with VC++ 2010. The 
offending crash happens only because the iterator debug check in the xstring 
header wants to avoid the dereferencing of indexes beyond the valid length of 
an stl string. It would not normally be seen in an unchecked build.




More information about the zeromq-dev mailing list