Closed lockie closed 1 year ago
Hello! This tiny PR consists of a few string handling tweaks in allegro5 backend:
strcpy
str
malloc
calloc
NULL
strncpy
Worked locally. Thanks!
Hello! This tiny PR consists of a few string handling tweaks in allegro5 backend:
strcpy
renamed tostr
, as per SEI CERT DCL01-C.malloc
and manual null-terminator addition replaced withcalloc
.NULL
from allocator check.strcpy
replaced withstrncpy
for better security.