Skip to content

error #32

@nmhhjr786

Description

@nmhhjr786

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions