[#2212] CID43778:

mo strncpys, mo problems
so we used snprintf