[master] 1cc0fa997 Make sure the "screen" is blank when we start.
Poul-Henning Kamp
phk at FreeBSD.org
Mon Oct 29 08:50:09 UTC 2018
commit 1cc0fa99780c615d5ae857b14c1090aa0a21994a
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Mon Oct 29 08:49:02 2018 +0000
Make sure the "screen" is blank when we start.
diff --git a/bin/varnishtest/vtc_process.c b/bin/varnishtest/vtc_process.c
index 10d545b38..dd6880e37 100644
--- a/bin/varnishtest/vtc_process.c
+++ b/bin/varnishtest/vtc_process.c
@@ -227,7 +227,7 @@ term_resize(struct process *pp, int lin, int col)
vram = calloc(lin, sizeof *pp->vram);
AN(vram);
for (i = 0; i < lin; i++) {
- vram[i] = malloc(col + 1L);
+ vram[i] = calloc(col + 1L, 1);
AN(vram[i]);
memset(vram[i], ' ', col);
vram[i][col] = '\0';
More information about the varnish-commit
mailing list