You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ji...@apache.org on 2007/10/29 02:25:16 UTC
svn commit: r589461 - /httpd/httpd/trunk/server/protocol.c
Author: jim
Date: Sun Oct 28 18:25:16 2007
New Revision: 589461
URL: http://svn.apache.org/viewvc?rev=589461&view=rev
Log:
Prevent 1-byte overflow on 8192 boundary (see PR 43310)
Modified:
httpd/httpd/trunk/server/protocol.c
Modified: httpd/httpd/trunk/server/protocol.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/protocol.c?rev=589461&r1=589460&r2=589461&view=diff
==============================================================================
--- httpd/httpd/trunk/server/protocol.c (original)
+++ httpd/httpd/trunk/server/protocol.c Sun Oct 28 18:25:16 2007
@@ -1525,7 +1525,7 @@
{
apr_size_t written;
struct ap_vrprintf_data vd;
- char vrprintf_buf[AP_IOBUFSIZE];
+ char vrprintf_buf[AP_IOBUFSIZE+1];
vd.vbuff.curpos = vrprintf_buf;
vd.vbuff.endpos = vrprintf_buf + AP_IOBUFSIZE;