From 795699b28a99bc68e6a98e81d41f3cb3e8dd9b81 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 22 Jun 2015 16:42:58 +0200 Subject: parse: increase array size Increase the size of the array to hold our variable name and use snprintf to avoid overflows. --- orc/orcparse.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'orc/orcparse.c') diff --git a/orc/orcparse.c b/orc/orcparse.c index 8d6be4c..f46b0be 100644 --- a/orc/orcparse.c +++ b/orc/orcparse.c @@ -307,7 +307,7 @@ orc_parse_full (const char *code, OrcProgram ***programs, char **log) for(i=offset+1,j=0;iprogram, opcode_arg_size(o, j), token[i], varname); /* it's possible we reused an existing variable, get its name so -- cgit v1.2.1