[reSIProcate] Crash in ares on deleting SipStack

Steven Coule Steven.Coule at envox.com
Tue Jan 16 11:41:27 CST 2007


We're experiencing a heap corruption / crash in Ares when deleting the
SipStack object running on Windows XP and compiled with Visual Studio
2003.

 

In ares_destroy.c, ares_destroy_internal, around line 45 ...

 

 free(channel->lookups)  

 

... causes a heap corruption report in the debugger. 

 

Changing the strdup to _strdup in ares_init.c where "bf" or the supplied
string are duplicated into ->lookups resolves the problem.

 

Has anyone else experienced this problem? 

 

Thanks,


Steve Coule

Envox UK Ltd

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20070116/84e7a51e/attachment.htm>


More information about the resiprocate-devel mailing list