ExtUnique.c: '_uq' directive writing 3 bytes into a region of size between 1 and 1024

GCC14 loud default warnings series [-Wformat-overflow=]
This commit is contained in:
Darryl L. Miles 2024-10-02 06:59:00 +01:00 committed by Tim Edwards
parent 66734bbaee
commit 41913fbd78
1 changed files with 1 additions and 1 deletions

View File

@ -203,7 +203,7 @@ extMakeUnique(def, ll, lreg, lregList, labelHash, option)
{
static char *badmesg =
"Non-global label \"%s\" attached to more than one unconnected node: %s";
char *cpend, *text, name[1024], name2[1024], message[1024];
char *cpend, *text, name[1024], name2[1024+32], message[1024];
LabRegion *lp2;
LabelList *ll2;
int nsuffix, nwarn;