summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgeniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2007-07-09 11:14:44 +0000
committergeniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2007-07-09 11:14:44 +0000
commit782aed680161431f4147369502ae3cedd4599302 (patch)
treee834d020d9e5abe36a174f692b2d144c83b57565
parent2a0c54c27c0b5755270e1ee14713a88fd0d56f50 (diff)
BUILD : 1.7.19 (1254) BUGS : 741 NOTES : Fixed a possible buffer overflow in inspircd10.c
git-svn-id: svn://svn.anope.org/anope/trunk@1254 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@973 5417fbe8-f217-4b02-8779-1006273d7864
-rw-r--r--Changes1
-rw-r--r--src/protocol/inspircd10.c4
-rw-r--r--version.log6
3 files changed, 8 insertions, 3 deletions
diff --git a/Changes b/Changes
index d1bf14fb2..299a6c971 100644
--- a/Changes
+++ b/Changes
@@ -6,6 +6,7 @@ Anope Version S V N
06/18 F OperServ MODINFO giving misleading errors. [#732]
07/09 F Various access levels for oper-commands. [#729]
07/09 F GlobalOnCycle notices being sent to Anope itself or juped servers.[#737]
+07/09 F Possible buffer overflow in inspircd10.c [#741]
Anope Version 1.7.19
--------------------
diff --git a/src/protocol/inspircd10.c b/src/protocol/inspircd10.c
index 1944922f5..98068a92b 100644
--- a/src/protocol/inspircd10.c
+++ b/src/protocol/inspircd10.c
@@ -703,8 +703,8 @@ int anope_event_fjoin(char *source, int ac, char **av)
for (i = 2; i < ac; i++)
{
if (i > 2)
- strncat(people," ",1024);
- strncat(people,av[i],1024);
+ strncat(people," ",1023);
+ strncat(people,av[i],1023);
}
do_sjoin(source, 4, newav);
return MOD_CONT;
diff --git a/version.log b/version.log
index 8d161c879..aff7b1374 100644
--- a/version.log
+++ b/version.log
@@ -9,10 +9,14 @@ VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="19"
VERSION_EXTRA="-svn"
-VERSION_BUILD="1253"
+VERSION_BUILD="1254"
# $Log$
#
+# BUILD : 1.7.19 (1254)
+# BUGS : 741
+# NOTES : Fixed a possible buffer overflow in inspircd10.c
+#
# BUILD : 1.7.19 (1253)
# BUGS : 737
# NOTES : Fixed GlobalOnCycle notices being sent to Anope itself and juped servers