Re: silc heap corruption
Pekka Riikonen <[email protected]> Wed, 5 Dec 2007 10:16:46 +0100 (CET)
| Newsgroups | gmane.network.silc.devel |
|---|---|
| Message-ID | <[email protected]> |
: 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/ _______________________________________________________________________ Info: https://lists.silcnet.org/mailman/listinfo/silc-announce Archive: https://lists.silcnet.org/pipermail/silc-announce FAQ: http://silcnet.org/support/faq/