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:
89427d0
)
dtcm: Coverity 88902
author
Peter Howkins
<flibble@users.sf.net>
Fri, 13 Jul 2018 15:34:12 +0000
(16:34 +0100)
committer
Peter Howkins
<flibble@users.sf.net>
Fri, 13 Jul 2018 15:34:12 +0000
(16:34 +0100)
cde/programs/dtcm/server/cmscalendar.c
patch
|
blob
|
history
diff --git
a/cde/programs/dtcm/server/cmscalendar.c
b/cde/programs/dtcm/server/cmscalendar.c
index 8daeb5394d8c7ff620386ffadb573230baefa6dd..b340288464fa0cac4ec5f3ead05fb3583ca9a094 100644
(file)
--- a/
cde/programs/dtcm/server/cmscalendar.c
+++ b/
cde/programs/dtcm/server/cmscalendar.c
@@
-997,7
+997,7
@@
get_file_owner(char *calname, char **owner)
*owner = NULL;
if (_DtCmIsUserName(calname) == B_TRUE) {
- s
trcpy(buf
, calname);
+ s
nprintf(buf, sizeof(buf), "%s"
, calname);
} else {
if ((log = _DtCmsGetLogFN(calname)) == NULL)
return (CSA_E_INSUFFICIENT_MEMORY);