niceabort.c: '%s' directive writing up to 199 bytes into a region of size 177
GCC14 loud default warnings series [-Wformat-overflow=]
This commit is contained in:
parent
29bd23d40b
commit
9f88450243
|
|
@ -67,7 +67,7 @@ DumpCore()
|
|||
int cpid, gcpid, wpid;
|
||||
FILE *commentFile, *crashFile;
|
||||
time_t now;
|
||||
char pidString[20], line[150], command[200], tempName[200], *crashDir;
|
||||
char pidString[20], line[150], command[512], tempName[200], *crashDir;
|
||||
|
||||
TxPrintf("Please wait while magic generates a core image of itself....\n");
|
||||
sprintf(pidString, "%d", parentPid);
|
||||
|
|
|
|||
Loading…
Reference in New Issue