From 52f8209b1337c050ab44ed323b247643758aec57 Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Sat, 30 Mar 2024 14:46:38 +0100 Subject: Replaced strcat() call --- FICS/gameproc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'FICS/gameproc.c') diff --git a/FICS/gameproc.c b/FICS/gameproc.c index 4f2bd7d..b49f8df 100644 --- a/FICS/gameproc.c +++ b/FICS/gameproc.c @@ -240,7 +240,7 @@ game_ended(int g, int winner, int why) break; } - strcat(outstr, tmp); + strlcat(outstr, tmp, sizeof outstr); if (beingplayed) { pprintf_noformat(garray[g].white, outstr); -- cgit v1.2.3