forked from dazjo/minute
-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
minute_minute-1.5\minute_minute-1.5>make
ancast.c
minute_minute-1.5/minute_minute-1.5/source/ancast.c: In function 'ancast_patch_load':
/minute_minute-1.5/minute_minute-1.5/source/ancast.c:566:9: warning: 'strcpy' writing 9 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=]
566 | strcpy((char*)patch_base, "SALTPTCH");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1.exe: note: destination object is likely at address zero
minute_minute-1.5/minute_minute-1.5/source/ancast.c:576:8: warning: 'memcmp' specified bound 8 exceeds source size 0 [-Wstringop-overread]
576 | if(memcmp(patch_base, "SALTPTCH", 8))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Metadata
Metadata
Assignees
Labels
No labels