From 1e32053cd0a8e42e628cf832d81360b96c8de97d Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Sun, 9 May 2010 15:02:17 +0200 Subject: [PATCH] Gnuplot quickfix: Increase malloc()'ed size. --- output/output_gnuplot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/output/output_gnuplot.c b/output/output_gnuplot.c index a0d5a8fc..3a3e7496 100644 --- a/output/output_gnuplot.c +++ b/output/output_gnuplot.c @@ -153,7 +153,7 @@ static int data(struct output *o, char *data_in, uint64_t length_in, outsize = strlen(ctx->header); /* FIXME: Use realloc(). */ - if (!(outbuf = calloc(1, outsize + 1 + 10000))) + if (!(outbuf = calloc(1, outsize + 1 + 1000000))) return SIGROK_ERR_MALLOC; /* TODO: free()? What to free? */ outbuf[0] = '\0';