mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-10-06 01:43:00 +02:00
ResPrint.c: '%s' directive writing 2 bytes into a region of size between 1 and 1000
GCC14 loud default warnings series [-Wformat-overflow=]
This commit is contained in:
committed by
Tim Edwards
parent
41913fbd78
commit
b81e04eed4
+1
-1
@@ -218,7 +218,7 @@ ResPrintExtNode(outextfile, nodelist, nodename)
|
||||
char *nodename;
|
||||
{
|
||||
int nodenum = 0;
|
||||
char newname[MAXNAME], tmpname[MAXNAME], *cp;
|
||||
char newname[MAXNAME+32], tmpname[MAXNAME], *cp;
|
||||
HashEntry *entry;
|
||||
ResSimNode *node, *ResInitializeNode();
|
||||
bool DoKillNode = TRUE;
|
||||
|
||||
Reference in New Issue
Block a user