[#2212] CID37527:

snprintf instead of strncpy