[#2212] CID72458:

changed strncpy into an snprintf. surprise.