566893d359
- use strlcpy() instead of strncpy() to avoid the off-by-one error and the three missing '\0' terminations. - perform bounds checks to make sure we don't turn this into a random memory writing tool using setenv HOME `perl -e 'print "a"x5000'` |
||
---|---|---|
.. | ||
TEST | ||
Makefile | ||
pathnames.h | ||
shlib_version | ||
termcap.3 | ||
termcap.c | ||
termcap.h | ||
termcap_private.h | ||
tgoto.c | ||
tputs.c |