httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r589461 - /httpd/httpd/trunk/server/protocol.c
Date Mon, 29 Oct 2007 01:25:16 GMT
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;



Mime
View raw message