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:
40b38d3
)
dtdocbook: Coverity 86763
author
Peter Howkins
<flibble@users.sf.net>
Wed, 4 Jul 2018 00:59:42 +0000
(
01:59
+0100)
committer
Peter Howkins
<flibble@users.sf.net>
Wed, 4 Jul 2018 00:59:42 +0000
(
01:59
+0100)
cde/programs/dtdocbook/instant/main.c
patch
|
blob
|
history
diff --git
a/cde/programs/dtdocbook/instant/main.c
b/cde/programs/dtdocbook/instant/main.c
index c3833687e840ef3a7309470edbfa3edfa71f12ba..09554a490882896786aab7f709a83c1b26fbada3 100644
(file)
--- a/
cde/programs/dtdocbook/instant/main.c
+++ b/
cde/programs/dtdocbook/instant/main.c
@@
-621,7
+621,7
@@
CmdLineSetVariable(
int n;
/* Turn '=' into a space, to isolate the name. Then set variable. */
- s
trcpy(buf
, var);
+ s
nprintf(buf, sizeof(buf), "%s"
, var);
if ((cp=strchr(buf, '='))) {
/* we have "var=value" */
*cp = ' ';