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:
751505e
)
dtdocbook: Coverity 86996
author
Peter Howkins
<flibble@users.sf.net>
Wed, 4 Jul 2018 01:01:15 +0000
(
02:01
+0100)
committer
Peter Howkins
<flibble@users.sf.net>
Wed, 4 Jul 2018 01:01:15 +0000
(
02:01
+0100)
cde/programs/dtdocbook/instant/util.c
patch
|
blob
|
history
diff --git
a/cde/programs/dtdocbook/instant/util.c
b/cde/programs/dtdocbook/instant/util.c
index 9a782692def0eb02b297e72b696323cbd1c271a1..fa726e0f77660a2ee7a77f95fddd96af1bda0285 100644
(file)
--- a/
cde/programs/dtdocbook/instant/util.c
+++ b/
cde/programs/dtdocbook/instant/util.c
@@
-353,7
+353,7
@@
SetMapping(
fprintf(stderr, "SetMapping: Map not initialized.\n");
return;
}
- s
trcpy(buf
, s);
+ s
nprintf(buf, sizeof(buf), "%s"
, s);
name = val = buf;
while (*val && !IsWhite(*val)) val++; /* point past end of name */
if (*val) {