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:
1fb5110
)
libDtHelp: Coverity 88440
author
Peter Howkins
<flibble@users.sf.net>
Wed, 4 Jul 2018 00:40:12 +0000
(
01:40
+0100)
committer
Peter Howkins
<flibble@users.sf.net>
Wed, 4 Jul 2018 00:40:12 +0000
(
01:40
+0100)
cde/lib/DtHelp/FileUtils.c
patch
|
blob
|
history
diff --git
a/cde/lib/DtHelp/FileUtils.c
b/cde/lib/DtHelp/FileUtils.c
index 201e28f44bf0eb0bc55445cb8fdeaf8e93ad9106..5846dec2a247382e8f4ef6a87be2f9849ad5fd90 100644
(file)
--- a/
cde/lib/DtHelp/FileUtils.c
+++ b/
cde/lib/DtHelp/FileUtils.c
@@
-179,7
+179,7
@@
_DtHelpFileTraceLinks (
if ( NULL == *pPathName ) return False; /* RETURN */
/* init */
- s
trcpy(buf[0],
*pPathName);
+ s
nprintf(buf[0], sizeof(buf[0]), "%s",
*pPathName);
linkPath = buf[0]; /* will be assigned to filePath below */
curBuf = 1; /* next valid buf */