From 46ffafc8c830f3cd23c959aba2099929aef7c748 Mon Sep 17 00:00:00 2001 From: Alejandro Colomar Date: Sat, 19 Jul 2025 10:36:33 +0200 Subject: [PATCH] src/chfn.c: slop: Reduce buffer size We never use more than BUFSIZ. (And we could use way less than that.) Signed-off-by: Alejandro Colomar --- src/chfn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chfn.c b/src/chfn.c index 4c7f5c559..b4f913ba1 100644 --- a/src/chfn.c +++ b/src/chfn.c @@ -47,7 +47,7 @@ static char fullnm[BUFSIZ]; static char roomno[BUFSIZ]; static char workph[BUFSIZ]; static char homeph[BUFSIZ]; -static char slop[BUFSIZ + 1 + 80]; +static char slop[BUFSIZ]; static bool amroot; /* Flags */ static bool fflg = false; /* -f - set full name */ -- 2.47.3