summaryrefslogtreecommitdiff
path: root/include/inspircd.h
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-07-20 09:15:01 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-07-20 09:15:01 +0000
commitccfcdda27482fe2ac99d0da936ef1a1374223624 (patch)
treebb5e7fb0f8178b751b3a22192bd1d82e04541104 /include/inspircd.h
parentca781714c1651a9e7042eb930c6b117449f8e1fc (diff)
Fix potential off-by-one on large reads (thanks psychon)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10048 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/inspircd.h')
-rw-r--r--include/inspircd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/inspircd.h b/include/inspircd.h
index fc0f2a04e..50dc5c73b 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -349,7 +349,8 @@ class CoreExport InspIRCd : public classbase
*/
time_t OLDTIME;
- /** A 64k buffer used to read client lines into
+ /** A 64k buffer used to read socket data into
+ * NOTE: update ValidateNetBufferSize if you change this
*/
char ReadBuffer[65535];