summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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