Skip to content
Snippets Groups Projects
user avatar
Julian Oes authored
GCC 9 complained about stringop-truncation which is a cautionary message
to prevent using strncpy with non-null terminated strings.

We can fix this by copying one byte less than the destination size and
then manually adding the null termination, as we already do.
b20feacd
History