diff options
author | certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b <certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2004-12-11 13:03:09 +0000 |
---|---|---|
committer | certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b <certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2004-12-11 13:03:09 +0000 |
commit | 45ae3f1a55b3ca12515e5f25673051a31ecdd0f6 (patch) | |
tree | 6ba861db18fe4432a6b9e444a5cf6483d019c2b5 | |
parent | 67d3b46dfdbdb405ac501e3b59b973c35a89d0fa (diff) |
BUILD : 1.7.6 (487) BUGS : NOTES : Fixed possible NULL-free() in delcore()
git-svn-id: svn://svn.anope.org/anope/trunk@487 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@341 5417fbe8-f217-4b02-8779-1006273d7864
-rw-r--r-- | Changes | 1 | ||||
-rw-r--r-- | src/nickserv.c | 4 | ||||
-rw-r--r-- | version.log | 6 |
3 files changed, 8 insertions, 3 deletions
@@ -13,6 +13,7 @@ Provided by Anope Dev. <dev@anope.org> - 2004 11/19 A Added anope_cmd_ctcp() to code API, for sending CTCP messages. [ #00] 11/18 A Unable to use registered nicknames as bot nicks from now on. [ #00] 11/18 A NSAddAccessOnReg to control access list on registration. [ #00] +12/11 F Fixed possible crashbug (NULL-free) in nickserv's delcore(). [ #00] 12/09 F Hybrid crash on unsetting registration mode. [ #00] 12/09 F BotServ !seen not recognizing founder. [#167] 12/08 F ChanServ ACCESS wrong when dealing negative numbers. [#240] diff --git a/src/nickserv.c b/src/nickserv.c index a1a6fcd9b..89c1b8a77 100644 --- a/src/nickserv.c +++ b/src/nickserv.c @@ -1602,8 +1602,8 @@ static int delcore(NickCore * nc) if (nc->memos.memos) { for (i = 0; i < nc->memos.memocount; i++) { if (nc->memos.memos[i].text) - moduleCleanStruct(&nc->memos.memos[i].moduleData); - free(nc->memos.memos[i].text); + free(nc->memos.memos[i].text); + moduleCleanStruct(&nc->memos.memos[i].moduleData); } free(nc->memos.memos); } diff --git a/version.log b/version.log index 03d9a0a9b..d798b3d17 100644 --- a/version.log +++ b/version.log @@ -8,10 +8,14 @@ VERSION_MAJOR="1" VERSION_MINOR="7" VERSION_PATCH="6" -VERSION_BUILD="486" +VERSION_BUILD="487" # $Log$ # +# BUILD : 1.7.6 (487) +# BUGS : +# NOTES : Fixed possible NULL-free() in delcore() +# # BUILD : 1.7.6 (486) # BUGS : 243 # NOTES : docs patch to bug 243, and removed shut_clean_user() it started to do more harm then good |