summaryrefslogtreecommitdiff
path: root/testcode/testbound.c
diff options
context:
space:
mode:
Diffstat (limited to 'testcode/testbound.c')
-rw-r--r--testcode/testbound.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/testcode/testbound.c b/testcode/testbound.c
index 56b89c7f0d7e..071ac9c2a5b4 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++;