Author: Alex Badea <vamposdecampos@gmail.com>
authorAlex Badea <vamposdecampos@gmail.com>
Mon, 12 Sep 2005 21:22:44 +0000 (21:22 +0000)
committerAlex Badea <vamposdecampos@gmail.com>
Mon, 12 Sep 2005 21:22:44 +0000 (21:22 +0000)
Log message:

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

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1482 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

ChangeLog
ircd/s_conf.c

index f7f79535c4c307d264056b8bc8f85bc2d93a0439..f927cd44c9407af18068adf074e361db5d25eba5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-09-13  Alex Badea <vamposdecampos@gmail.com>
+
+       * 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 <mdpoole@troilus.org>
 
        * ircd/channel.c (find_ban): Compare ban mask against hostname
index 14328f6518e222ddfb42fda146b88c41001fe0d5..cc425ca79c69e01f1a98578b84262a3b8fd16848 100644 (file)
@@ -903,6 +903,7 @@ static void close_mappings(void)
     unregister_mapping(map);
     free_mapping(map);
   }
+  GlobalServiceMapList = NULL;
 }
 
 /** Reload the configuration file.