summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2009-12-14 19:36:00 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2009-12-14 19:36:00 +0000
commite056076901aa968d0dba1ad0fa16fb05ec46abeb (patch)
treec5f3f7af8b0f57eb0a1cc5873f95e2d7f0e351cb /usr.sbin
parent6e4a871eaf274be4a143525ef7cbba962eda4163 (diff)
could write one word too far, found by parfait; ok millert
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/httpd/src/modules/ssl/ssl_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/httpd/src/modules/ssl/ssl_util.c b/usr.sbin/httpd/src/modules/ssl/ssl_util.c
index 7a87dfe38bb..e23e3703c9e 100644
--- a/usr.sbin/httpd/src/modules/ssl/ssl_util.c
+++ b/usr.sbin/httpd/src/modules/ssl/ssl_util.c
@@ -277,7 +277,7 @@ char *ssl_util_ptxtsub(
pool *p, const char *cpLine, const char *cpMatch, char *cpSubst)
{
#define MAX_PTXTSUB 100
- char *cppMatch[MAX_PTXTSUB];
+ char *cppMatch[MAX_PTXTSUB + 1];
char *cpResult;
int nResult;
int nLine;