Description
The patch replaces the _tcscpy in SetFileName with StringCchCopy to ensure that no
buffer overrun occurs. Should fix CID 510916.
It also frees pTemp in DoCreateEditWindow if the function fails to create a new edit control
and pTemp is non-null. Should fix 716307.