diff --git a/cde/lib/DtHelp/Access.c b/cde/lib/DtHelp/Access.c index 94167c87f..5b2ac4750 100644 --- a/cde/lib/DtHelp/Access.c +++ b/cde/lib/DtHelp/Access.c @@ -1520,7 +1520,7 @@ _DtHelpCeTraceFilenamePath (char *file_path) /* * copy the new path and free the allocated copy */ - strcpy (newName, newPath); + snprintf(newName, sizeof(newName), "%s", newPath); free (newPath); }