Using strcat_s

Replacing strcat with strcpy_s