18027607cd
When AddressSanitizer is enabled, gcc-10 will warn that strncpy will truncate the message. This truncation is valid, since it only loses the terminating null byte, and the next line explicitly supplies a terminating null. Switch to memcpy to eliminate the warning and produce simpler code. |
||
---|---|---|
.. | ||
2d | ||
3d | ||
arch | ||
editor | ||
main | ||
misc |