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:
parent
41913fbd78
commit
b81e04eed4
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue