diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-05-03 23:09:55 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-05-03 23:09:55 +0000 |
commit | 6b72695ef6eb744bf8bff77ed228d63f7468e1d0 (patch) | |
tree | 674a078f94beebbb5e47971c2ae33a13cf38e435 /src | |
parent | ed98005ffd341ac265dada2057a8e313265dbb51 (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/inspircd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |