Closed bpereto closed 6 years ago
How was this issue resolved?
By committing 2c1c626ca971741ffca2ed22d77545f6befe0632.
@eworm-de Thanks! I guess the reason for this would be hidden in the internal implementation of memcpy and strncpy
The problem is that strncpy()
may want to append a trailing null byte that does not fit.
We do not need that, so memcpy()
is fine.
gcc (GCC) 8.0.1 20180317 (Red Hat 8.0.1-0.19)