From 189845ea905169e78ec91e2b4453addd8a61675a Mon Sep 17 00:00:00 2001 From: "geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b" Date: Sun, 11 Jun 2006 16:26:05 +0000 Subject: [PATCH] BUILD : 1.7.14 (1043) BUGS : NOTES : NULLified *s and *t in moduleGetConfigDirective in src/modules.c by default git-svn-id: svn://svn.anope.org/anope/trunk@1043 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@767 5417fbe8-f217-4b02-8779-1006273d7864 --- Changes | 1 + src/modules.c | 3 ++- version.log | 6 +++++- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Changes b/Changes index b917c6138..33cf9279d 100644 --- a/Changes +++ b/Changes @@ -15,6 +15,7 @@ Provided by Anope Dev. - 2006 06/03 F Removed INTTYPE_WORKAROUND stuff which could cause warnings. [#509] 06/03 F Fixed compiler warnings. [#511] 06/10 F Win32 Makefile for plexus3 support. [#520] +06/11 F Two pointers in modules.c weren't NULL-ified by default. [ #00] Provided by ThaPrince - 2006 05/19 A Plexus 3 support. [ #00] diff --git a/src/modules.c b/src/modules.c index 26e82795f..3c34f3994 100644 --- a/src/modules.c +++ b/src/modules.c @@ -2425,7 +2425,8 @@ int moduleGetConfigDirective(Directive * d) int linenum = 0; int ac = 0; char *av[MAXPARAMS]; - char *s, *t; + char *s = NULL; + char *t = NULL; int retval = 1; config = fopen(SERVICES_CONF, "r"); diff --git a/version.log b/version.log index e8640e596..5f9912877 100644 --- a/version.log +++ b/version.log @@ -9,10 +9,14 @@ VERSION_MAJOR="1" VERSION_MINOR="7" VERSION_PATCH="14" VERSION_EXTRA="" -VERSION_BUILD="1042" +VERSION_BUILD="1043" # $Log$ # +# BUILD : 1.7.14 (1043) +# BUGS : +# NOTES : NULLified *s and *t in moduleGetConfigDirective in src/modules.c by default +# # BUILD : 1.7.14 (1042) # BUGS : 520 # NOTES : Fixed src/protocol/Makefile.win32 for plexus->plexus2/plexus3 change