1
0
mirror of https://github.com/anope/anope.git synced 2026-07-05 21:13:13 +02:00

BUILD : 1.7.5 (344) BUGS : NOTES : Fixed bug with an uninitialized buffer in check_sqline()

git-svn-id: svn://svn.anope.org/anope/trunk@344 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@220 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b
2004-09-10 11:47:40 +00:00
parent ec3d8bda5e
commit 9737fafd75
3 changed files with 17 additions and 3 deletions
+1
View File
@@ -3,6 +3,7 @@ Anope Version S V N
Provided by Anope Dev. <dev@anope.org> - 2004
08/24 A New -l option for am script to list possible selectors. [ #00]
09/08 A Removed rand() and ported bsd's arc4random() to fit our needs. [ #00]
09/09 F Fixed bug with uninitialized pointer in check_sqline. [ #00]
09/08 F Fixed gcc2 support with multiple C++ style comments. [ #00]
08/26 F Fixed spelling stuff in the german langfile. [#159]
08/24 F Compile error with gcc2. [ #00]
+3 -2
View File
@@ -2882,7 +2882,7 @@ int check_sqline(char *nick, int nick_change)
{
int i;
SXLine *sx;
char *reason;
char *reason = NULL;
if (sqlines.count == 0)
return 0;
@@ -2900,9 +2900,10 @@ int check_sqline(char *nick, int nick_change)
if (match_wild_nocase(sx->mask, nick)) {
sqline(sx->mask, sx->reason);
/* We kill nick since s_sqline can't */
reason = smalloc(strlen(sx->reason) + 10);
snprintf(reason, sizeof(reason), "Q-Lined: %s", sx->reason);
kill_user(s_OperServ, nick, reason);
free(reason);
return 1;
}
}
+13 -1
View File
@@ -8,10 +8,22 @@
VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="5"
VERSION_BUILD="343"
VERSION_BUILD="344"
# $Log$
#
# BUILD : 1.7.5 (344)
# BUGS :
# NOTES : Fixed bug with an uninitialized buffer in check_sqline()
#
# BUILD : 1.7.5 (344)
# BUGS :
# NOTES : Fixed bug with an uninitialized buffer in check_sqline()
#
# BUILD : 1.7.5 (344)
# BUGS :
# NOTES : Fixef bug with uninitialized pointer in check_sqline. Thx to codemastr.
#
# BUILD : 1.7.5 (343)
# BUGS : #00
# NOTES : Fixed previous commit.