projects
/
silc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ac276e
)
Handle unknown channel in invite notify.
author
Pekka Riikonen
<priikone@silcnet.org>
Fri, 29 Dec 2006 21:20:34 +0000
(21:20 +0000)
committer
Pekka Riikonen
<priikone@silcnet.org>
Fri, 29 Dec 2006 21:20:34 +0000
(21:20 +0000)
lib/silcclient/client_notify.c
patch
|
blob
|
history
diff --git
a/lib/silcclient/client_notify.c
b/lib/silcclient/client_notify.c
index a8bdf31a69d67776ac394ddc961ab31464f94e89..90c184903c265959a8d1520f6c6496dd605fb976 100644
(file)
--- a/
lib/silcclient/client_notify.c
+++ b/
lib/silcclient/client_notify.c
@@
-279,6
+279,8
@@
SILC_FSM_STATE(silc_client_notify_invite)
/* Get the channel entry */
channel = silc_client_get_channel_by_id(client, conn, &id.u.channel_id);
+ if (!channel)
+ goto out;
/* If channel is being resolved handle notify after resolving */
if (channel->internal.resolve_cmd_ident) {