diff options
author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2018-09-10 16:30:18 +0000 |
---|---|---|
committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2018-09-10 16:30:18 +0000 |
commit | 7b6fdf425a9ef38fe9e16779b3af25863104d9c0 (patch) | |
tree | 1ac9dd11604f49ca6a2feae373ff4dc7e6fb0002 /testcode/testbound.c | |
parent | 4289761a7b61df4b64c11ada446a187df61e6a1e (diff) |
Diffstat (limited to 'testcode/testbound.c')
-rw-r--r-- | testcode/testbound.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/testcode/testbound.c b/testcode/testbound.c index 56b89c7f0d7e1..071ac9c2a5b44 100644 --- a/testcode/testbound.c +++ b/testcode/testbound.c @@ -177,7 +177,8 @@ spool_temp_file(FILE* in, int* lineno, char* id) while(isspace((unsigned char)*parse)) parse++; if(strncmp(parse, "$INCLUDE_TEMPFILE", 17) == 0) { - char l2[MAX_LINE_LEN]; + char l2[MAX_LINE_LEN-30]; /* -30 makes it fit with + a preceding $INCLUDE in the buf line[] */ char* tid = parse+17; while(isspace((unsigned char)*tid)) tid++; |