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:
6d6f509
)
dtcm: Coverity 88978
author
Peter Howkins
<flibble@users.sf.net>
Fri, 13 Jul 2018 15:31:21 +0000
(16:31 +0100)
committer
Peter Howkins
<flibble@users.sf.net>
Fri, 13 Jul 2018 15:31:21 +0000
(16:31 +0100)
cde/programs/dtcm/dtcm/dssw.c
patch
|
blob
|
history
diff --git
a/cde/programs/dtcm/dtcm/dssw.c
b/cde/programs/dtcm/dtcm/dssw.c
index 2fc7495419b65ea1e800884960188b051a4fd9c9..c5eeb8fedf3c37e8871457869ef88ff4f60dfb20 100644
(file)
--- a/
cde/programs/dtcm/dtcm/dssw.c
+++ b/
cde/programs/dtcm/dtcm/dssw.c
@@
-88,7
+88,6
@@
dssw_get_non_times(DSSW *dssw, time_t t) {
get_date_from_widget(t, dssw->date_text, ot, st));
str = XmTextGetString(dssw->what_text);
- strcpy(dssw->what_val, str);
snprintf(dssw->what_val, sizeof(dssw->what_val), "%s", str);
XtFree(str);
}