1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-15 04:32:24 +00:00

libDtHelp: Coverity 88776

This commit is contained in:
Peter Howkins 2018-07-04 01:29:49 +01:00
parent 4ee5f3d3cf
commit 045643d4db

View file

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