< Previous by Date Date Index Next by Date >
  Thread Index Next in Thread >

[reSIProcate] Crash in ares on deleting SipStack


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