[#2212] CID44258:

Changed strncpy to the safer snprintf