From 1fe68664a5b12ae546b1d593e0179bd163468271 Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Tue, 26 May 2020 01:23:44 +0000
Subject: [PATCH] =?UTF-8?q?Address=20warning:=20=E2=80=98=5F=5Fbuiltin=5F?=
 =?UTF-8?q?=5F=5Fsprintf=5Fchk=E2=80=99=20writing=20a=20terminating=20nul?=
 =?UTF-8?q?=20past=20the=20end=20of=20the=20destination=20reported=20by=20?=
 =?UTF-8?q?Nelgin=20via=20irc.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 src/syncdraw/save.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/syncdraw/save.c b/src/syncdraw/save.c
index 01caec6fde..b6858102ac 100644
--- a/src/syncdraw/save.c
+++ b/src/syncdraw/save.c
@@ -1,3 +1,5 @@
+// $Id$
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
@@ -27,7 +29,7 @@ AvatarColor(int col)
 char           *
 PCBoardColor(int col)
 {
-	static char           a[4];
+	static char           a[5];
 	if (col == oldColor)
 		return NULL;
 	sprintf(a, "@X%02x", col);
-- 
GitLab