diff --git a/lex.c b/lex.c index b790efa..7449112 100644 --- a/lex.c +++ b/lex.c @@ -1909,7 +1909,7 @@ add_input(char *p) } outp -= l; nbuf += l; - strcpy(outp, p); + memcpy(outp, p, l); } #define DEFHASH 1999