mirror of
https://github.com/clearlinux/telemetrics-client.git
synced 2026-09-06 21:51:32 +00:00
Replaced strncpy with memcpy and added some buffer overflow checks in order to avoid GCC9 compiler warning: warning: ‘__builtin___strncpy_chk’ specified bound depends on the length of the source argument [-Wstringop-overflow=] While in there, removed one unused global variable and declared the remaining global variables as static. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>