From ffb8241a8974360320de02e983394875fa6513d4 Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Thu, 16 Jun 2011 20:27:38 +0200 Subject: [PATCH] compile.c: parse_alias() only allow 'MAXNAME' number of characters for an alias --- compile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compile.c b/compile.c index 41e9bb0..0127d3e 100644 --- a/compile.c +++ b/compile.c @@ -141,7 +141,7 @@ static int parse_alias_definition() { static char* parse_alias() { - static char buf[4096]; + static char buf[MAXNAME]; int c, len = 0, trailing_space = 0; for(;;) {