mirror of
https://github.com/anope/anope.git
synced 2026-07-03 08:33:12 +02:00
# BUILD : 1.7.13 (1009) # BUGS : 460 # NOTES : fixed sstrdup(NULL) in cs_akick.c
git-svn-id: svn://svn.anope.org/anope/trunk@1009 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@734 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
parent
f653137275
commit
d500efe45d
@@ -36,6 +36,7 @@ Provided by Anope Dev. <dev@anope.org> - 2006
|
||||
03/02 F Fixed memleak in do_cmode(). [#430]
|
||||
03/03 F Rage, Bahamut and Viagra will now use the correct server desc. [#467]
|
||||
03/03 F Fixed botserv's mode behaviour with protect umode. [#333]
|
||||
03/18 F Fixed sstrdup() with NULL argument in cs_akick.c. [#460]
|
||||
|
||||
Provided by nenolod. <nenolod@nenolod.net> - 2006
|
||||
02/03 A Support for Charybdis IRCd. [ #00]
|
||||
|
||||
+7
-2
@@ -451,8 +451,13 @@ int do_akick(User * u)
|
||||
ci->akick[a].u.mask =
|
||||
sstrdup(ci->akick[b].u.mask);
|
||||
}
|
||||
ci->akick[a].reason =
|
||||
sstrdup(ci->akick[b].reason);
|
||||
/* maybe we should first check whether there
|
||||
is a reason before we sstdrup it -Certus */
|
||||
if (ci->akick[b].reason)
|
||||
ci->akick[a].reason =
|
||||
sstrdup(ci->akick[b].reason);
|
||||
else
|
||||
ci->akick[a].reason = NULL;
|
||||
ci->akick[a].creator =
|
||||
sstrdup(ci->akick[b].creator);
|
||||
ci->akick[a].addtime = ci->akick[b].addtime;
|
||||
|
||||
+5
-1
@@ -9,10 +9,14 @@ VERSION_MAJOR="1"
|
||||
VERSION_MINOR="7"
|
||||
VERSION_PATCH="13"
|
||||
VERSION_EXTRA="-svn"
|
||||
VERSION_BUILD="1008"
|
||||
VERSION_BUILD="1009"
|
||||
|
||||
# $Log$
|
||||
#
|
||||
# BUILD : 1.7.13 (1009)
|
||||
# BUGS : 460
|
||||
# NOTES : fixed sstrdup(NULL) in cs_akick.c
|
||||
#
|
||||
# BUILD : 1.7.13 (1008)
|
||||
# BUGS : 473 474
|
||||
# NOTES : gcc switches and win98 stop, thx 2 trystan
|
||||
|
||||
Reference in New Issue
Block a user