mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
dtcm: Coverity 88978
This commit is contained in:
parent
1de8020c41
commit
199bb761af
1 changed files with 1 additions and 0 deletions
|
@ -89,6 +89,7 @@ dssw_get_non_times(DSSW *dssw, time_t t) {
|
|||
|
||||
str = XmTextGetString(dssw->what_text);
|
||||
strcpy(dssw->what_val, str);
|
||||
snprintf(dssw->what_val, sizeof(dssw->what_val), "%s", str);
|
||||
XtFree(str);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue