From 6c0689eeaeaac40263bdd9281a8d16f0bd9788ce Mon Sep 17 00:00:00 2001 From: Jim Jagielski Date: Mon, 29 Oct 2007 01:25:16 +0000 Subject: [PATCH] Prevent 1-byte overflow on 8192 boundary (see PR 43310) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@589461 13f79535-47bb-0310-9956-ffa450edef68 --- server/protocol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/protocol.c b/server/protocol.c index 697f6997a8..7ab8c27370 100644 --- a/server/protocol.c +++ b/server/protocol.c @@ -1525,7 +1525,7 @@ AP_DECLARE(int) ap_vrprintf(request_rec *r, const char *fmt, va_list va) { 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; -- 2.40.0