libDtHelp: 88550

This commit is contained in:
Peter Howkins
2018-07-04 01:38:14 +01:00
parent a7e09ae1c3
commit 1fb5110337

View File

@@ -237,8 +237,7 @@ static int ScanDirForFiles(
if (pDir == NULL) return 0; /* RETURN */
/* build the pathname */
strcpy (fullName, dirpath);
strcat (fullName, DirSlashStr);
snprintf(fullName, sizeof(fullName), "%s%s", dirpath, DirSlashStr);
ptr = fullName + strlen (fullName);
/*