Committer  : decampos
CVSROOT    : /cvsroot/undernet-ircu
Module     : ircu2.10
Commit time: 2005-09-12 21:22:54 UTC

Modified files:
     ChangeLog ircd/s_conf.c

Log message:

Author: Alex Badea <[EMAIL PROTECTED]>
Log message:

Fixed minor bug causing a segfault after REHASH if using Pseudo blocks.

---------------------- diff included ----------------------
Index: ircu2.10/ChangeLog
diff -u ircu2.10/ChangeLog:1.694 ircu2.10/ChangeLog:1.695
--- ircu2.10/ChangeLog:1.694    Mon Sep 12 13:36:23 2005
+++ ircu2.10/ChangeLog  Mon Sep 12 14:22:44 2005
@@ -1,3 +1,8 @@
+2005-09-13  Alex Badea <[EMAIL PROTECTED]>
+
+       * ircd/s_conf.c (close_mappings): NULL out GlobalServiceMapList,
+       otherwise the linked list has an invalid ending sentinel on rehash
+
 2005-09-12  Michael Poole <[EMAIL PROTECTED]>
 
        * ircd/channel.c (find_ban): Compare ban mask against hostname
Index: ircu2.10/ircd/s_conf.c
diff -u ircu2.10/ircd/s_conf.c:1.80 ircu2.10/ircd/s_conf.c:1.81
--- ircu2.10/ircd/s_conf.c:1.80 Sun Aug 21 06:46:08 2005
+++ ircu2.10/ircd/s_conf.c      Mon Sep 12 14:22:44 2005
@@ -19,7 +19,7 @@
  */
 /** @file
  * @brief ircd configuration file driver
- * @version $Id: s_conf.c,v 1.80 2005/08/21 13:46:08 entrope Exp $
+ * @version $Id: s_conf.c,v 1.81 2005/09/12 21:22:44 decampos Exp $
  */
 #include "config.h"
 
@@ -903,6 +903,7 @@
     unregister_mapping(map);
     free_mapping(map);
   }
+  GlobalServiceMapList = NULL;
 }
 
 /** Reload the configuration file.
----------------------- End of diff -----------------------
_______________________________________________
Patches mailing list
[email protected]
http://undernet.sbg.org/mailman/listinfo/patches

Reply via email to