Here is a patch which changes the prototype of _tcscpy() to accept a length parameter and adjust the code accordingly.
Here is a patch which changes the prototype of _tcscpy() to accept a length parameter and adjust the code accordingly.