Archived
1
0
Fork 0

compile.c: parse_alias() only allow 'MAXNAME' number of characters for an alias

This commit is contained in:
Henrik Hautakoski 2011-06-16 20:27:38 +02:00
parent 31ede77a9a
commit ffb8241a89

View file

@ -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(;;) {