From 1c326c9141e657d0faad356759b630f3314c738a Mon Sep 17 00:00:00 2001 From: "Darryl L. Miles" Date: Wed, 2 Oct 2024 06:59:00 +0100 Subject: [PATCH] grouteCrss.c: '%s' directive writing up to 1023 bytes into a region of size 227 GCC14 loud default warnings series [-Wformat-overflow=] --- grouter/grouteCrss.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grouter/grouteCrss.c b/grouter/grouteCrss.c index 3d12540b..ffe49b81 100644 --- a/grouter/grouteCrss.c +++ b/grouter/grouteCrss.c @@ -166,7 +166,7 @@ glCrossTakePin(rootUse, pin, netid) GCRPin *pin; /* Pin to take */ NetId netid; /* Identifier to assign */ { - char c[256], name1[1024], name2[1024]; + char c[2048+64], name1[1024], name2[1024]; Rect r; if (DebugIsSet(glDebugID, glDebGreedy))