libDtHelp: Coverity 88776

This commit is contained in:
Peter Howkins 2018-07-04 01:29:49 +01:00
parent 4ee5f3d3cf
commit 045643d4db
1 changed files with 1 additions and 1 deletions

View File

@ -1396,7 +1396,7 @@ _DtHelpCeTracePathName (char *path)
* for tacking on after the new link path has been
* dropped into the path.
*/
strcpy (tempPath, ptr);
snprintf(tempPath, sizeof(tempPath), "%s", ptr);
/*
* is it an absolute path? Simply replace the path