diff options
-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 |