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:
parent
1fef4cc97d
commit
6e76e16fe6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=75905
@ -734,7 +734,7 @@ makeenv(env)
|
||||
|
||||
ep = env;
|
||||
if (TT && *TT) {
|
||||
strcat(termbuf, TT);
|
||||
strlcat(termbuf, TT, sizeof(termbuf));
|
||||
*ep++ = termbuf;
|
||||
}
|
||||
if ((p = EV)) {
|
||||
|
Loading…
Reference in New Issue
Block a user