projects
/
silc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cea0940
)
Fixed double free in CMODE command.
author
Pekka Riikonen
<priikone@silcnet.org>
Mon, 3 Feb 2003 13:43:03 +0000
(13:43 +0000)
committer
Pekka Riikonen
<priikone@silcnet.org>
Mon, 3 Feb 2003 13:43:03 +0000
(13:43 +0000)
apps/silcd/command.c
patch
|
blob
|
history
diff --git
a/apps/silcd/command.c
b/apps/silcd/command.c
index a64eb06a90bffd5ef715d4796b3e1ac2f8738141..66ecc11424818b43922e5374b669e81d891f8df4 100644
(file)
--- a/
apps/silcd/command.c
+++ b/
apps/silcd/command.c
@@
-2941,7
+2941,6
@@
SILC_SERVER_CMD_FUNC(cmode)
hmac = channel->hmac_name;
/* Delete old hmac and allocate default one */
- silc_hmac_free(channel->hmac);
if (!silc_hmac_alloc(hmac ? hmac : SILC_DEFAULT_HMAC, NULL, &newhmac)) {
silc_server_command_send_status_reply(cmd, SILC_COMMAND_CMODE,
SILC_STATUS_ERR_UNKNOWN_ALGORITHM, 0);