typo fix in alloc-srvx.c; avoid dereferencing free()'d bans
[srvx.git] / ChangeLog
index 794468907c1b7c7ffe4b70f69e61bbf734dd7642..22d3767aafae047f37474588994c91011cbdb7dd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,27 @@
 # arch-tag: automatic-ChangeLog--srvx@srvx.net--2005-srvx/srvx--devo--1.3
 #
 
+2005-01-24 17:12:38 GMT        Michael Poole <mdpoole@troilus.org>     patch-8
+
+    Summary:
+      typo fix in alloc-srvx.c; avoid dereferencing free()'d bans
+    Revision:
+      srvx--devo--1.3--patch-8
+
+    src/alloc-srvx.c (srvx_realloc): Fix argument list to srvx_free().
+    
+    src/chanserv.c (find_matching_bans): Make temporary copies of bans to
+    be removed.  Double-check remove count at end of loop.
+    (unban_user, cmd_open): Free the string copies.
+    (cmd_unbanall): Make temporary copies of removed bans and free them.
+    (handle_mode): Likewise.
+    
+    src/opserv.c (cmd_clearbans): Likewise.
+
+    modified files:
+     ChangeLog src/alloc-srvx.c src/chanserv.c src/opserv.c
+
+
 2005-01-24 16:45:44 GMT        Michael Poole <mdpoole@troilus.org>     patch-7
 
     Summary: