diff options
author | Josep Puigdemont <josep.puigdemont@linaro.org> | 2018-05-04 14:04:21 +0200 |
---|---|---|
committer | Maxim Uvarov <maxim.uvarov@linaro.org> | 2018-05-08 16:15:15 +0300 |
commit | 2b27f75b587cf23d2687dd37897cbb26ed915890 (patch) | |
tree | e015615f941982d3a907b19f3399e869f267157e /CHANGELOG | |
parent | 79781031e28dee010425f575d1bf5de5b18af0d6 (diff) |
linux-gen: fix compilation warnings
gcc 8 complains when strncpy may truncate the destination string,
possibly not copying the null terminating character
(-Werror=stringop-truncation).
By using memcpy we silent gcc8, but we also make sure that the
strings are null-terminated.
Signed-off-by: Josep Puigdemont <josep.puigdemont@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'CHANGELOG')
0 files changed, 0 insertions, 0 deletions