diff options
author | geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2006-06-11 16:26:05 +0000 |
---|---|---|
committer | geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2006-06-11 16:26:05 +0000 |
commit | 189845ea905169e78ec91e2b4453addd8a61675a (patch) | |
tree | 02732fce02a68c500f2603a95faf314c55036889 | |
parent | b0f345e5a8bec7b2f73930effe4ff0f287e2d34d (diff) |
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
-rw-r--r-- | Changes | 1 | ||||
-rw-r--r-- | src/modules.c | 3 | ||||
-rw-r--r-- | version.log | 6 |
3 files changed, 8 insertions, 2 deletions
@@ -15,6 +15,7 @@ Provided by Anope Dev. <dev@anope.org> - 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 <jon@vile.com> - 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 |