Closed bigcardo closed 3 years ago
This fix handles the gcc's -Wstringop-truncation warning.
-Wstringop-truncation
See: https://stackoverflow.com/questions/50198319/gcc-8-wstringop-truncation-what-is-the-good-practice
Additional commit to the previous one already sent by my colleague about gcc warnings on strncpy(). It is not clear why this additional issue was not found at the same time of the previous commit.
This fix handles the gcc's
-Wstringop-truncation
warning.See: https://stackoverflow.com/questions/50198319/gcc-8-wstringop-truncation-what-is-the-good-practice