From 6b72695ef6eb744bf8bff77ed228d63f7468e1d0 Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 3 May 2005 23:09:55 +0000 Subject: Fixed off-by-one error in client read() (improbable due to size of buffer but fixed as a risk anyway) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1301 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/inspircd.cpp b/src/inspircd.cpp index bcd198e87..5485c2352 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -4031,7 +4031,7 @@ int InspIRCd(char** argv, int argc) tvs.tv_sec = 0; tv.tv_sec = 0; tv.tv_usec = 10000L; - char data[65535]; + char data[65536]; timeval tval; fd_set sfd; tval.tv_usec = 10000L; -- cgit v1.2.3