replace strncat with strcat_s.