Replace a strcat() with a strlcat(). Partial sync with OpenBSD; more

work is needed.

Submitted by:	"Andrew R. Reiter" <arr@watson.org>
Obtained from:	OpenBSD
This commit is contained in:
Kris Kennaway 2001-04-24 10:33:46 +00:00
parent 1fef4cc97d
commit 6e76e16fe6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=75905

View File

@ -734,7 +734,7 @@ makeenv(env)
ep = env;
if (TT && *TT) {
strcat(termbuf, TT);
strlcat(termbuf, TT, sizeof(termbuf));
*ep++ = termbuf;
}
if ((p = EV)) {