silc heap corruption
Pekka Riikonen
priikone at iki.fi
Wed Dec 5 10:16:46 CET 2007
: client_entry.c, line 1639, so that I could call
: silc_free(channel->channel_name);
: and then set the name again, to see if it would crash, which it did.
:
: It seems as though the
: channel = silc_calloc(1, sizeof(*channel));
: call is either not allocating enough memory, or the channel_name is
: not being copied into the memory that has been allocated in line 1638,
: channel->channel_name = strdup(name);
:
Looks pretty weird. Have no idea. You'll have to debug it more.
Pekka
________________________________________________________________________
Pekka Riikonen priikone at silcnet.org
Secure Internet Live Conferencing (SILC) http://silcnet.org/
More information about the silc-devel
mailing list