updates.
authorPekka Riikonen <priikone@silcnet.org>
Sun, 19 May 2002 16:36:34 +0000 (16:36 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Sun, 19 May 2002 16:36:34 +0000 (16:36 +0000)
CHANGES
lib/silcclient/client_notify.c

diff --git a/CHANGES b/CHANGES
index 0daf65e132b76d256a1f4c305a5c42bde32d65d7..6269d56782faed390e3c3ccb10aaf326070e72a1 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,9 @@
+Sun May 19 18:59:00 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
+
+       * Fixed the CHANNEL_CHANGE notify handling in client libary
+         to not use freed memory.  Affected file is
+         lib/silcclient/client_notify.c.
+
 Sat May 18 11:35:19 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
 
        * Allow multiple identical pending commands to be registered
index 6eb1686ab3986bab10ec34749405b0aa2fa641a3..317bd078d26a33f1f355a86131ae22bcfeaa308e 100644 (file)
@@ -814,7 +814,8 @@ void silc_client_notify_by_server(SilcClient client,
       goto out;
 
     /* Replace the Channel ID */
-    silc_client_replace_channel_id(client, conn, channel, channel_id);
+    if (silc_client_replace_channel_id(client, conn, channel, channel_id))
+      channel_id = NULL;
 
     /* Notify application */
     client->internal->ops->notify(client, conn, type, channel, channel);