projects
/
oweals
/
cde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
045643d
)
libDtHelp: Coverity 89548
author
Peter Howkins
<flibble@users.sf.net>
Wed, 4 Jul 2018 00:31:19 +0000
(
01:31
+0100)
committer
Peter Howkins
<flibble@users.sf.net>
Wed, 4 Jul 2018 00:31:19 +0000
(
01:31
+0100)
cde/lib/DtHelp/Access.c
patch
|
blob
|
history
diff --git
a/cde/lib/DtHelp/Access.c
b/cde/lib/DtHelp/Access.c
index 94167c87faea295a34bb771df777d8a3c3c40c4e..5b2ac47508e9728278ce9f9c7b06d1c386b6d347 100644
(file)
--- 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
*/
- s
trcpy (newName
, newPath);
+ s
nprintf(newName, sizeof(newName), "%s"
, newPath);
free (newPath);
}