diff options
-rw-r--r-- | libexec/getty/subr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/getty/subr.c b/libexec/getty/subr.c index 2c7bf63..8e72683 100644 --- a/libexec/getty/subr.c +++ b/libexec/getty/subr.c @@ -734,7 +734,7 @@ makeenv(env) ep = env; if (TT && *TT) { - strcat(termbuf, TT); + strlcat(termbuf, TT, sizeof(termbuf)); *ep++ = termbuf; } if ((p = EV)) { |