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:
e94c401
)
dtcm: Coverity 89037
author
Peter Howkins
<flibble@users.sf.net>
Wed, 4 Jul 2018 00:15:12 +0000
(
01:15
+0100)
committer
Peter Howkins
<flibble@users.sf.net>
Wed, 4 Jul 2018 00:15:12 +0000
(
01:15
+0100)
cde/programs/dtcm/dtcm/reminders.c
patch
|
blob
|
history
diff --git
a/cde/programs/dtcm/dtcm/reminders.c
b/cde/programs/dtcm/dtcm/reminders.c
index 41cda0126d19bc2714694aab6157002f350e3aa5..6735c2b457cb1a6037e158b13e84078eab8d041f 100644
(file)
--- a/
cde/programs/dtcm/dtcm/reminders.c
+++ b/
cde/programs/dtcm/dtcm/reminders.c
@@
-931,7
+931,7
@@
reminders_init(
val->scope = convert_time_scope_str(get_char_prop(p, CP_MAILUNIT));
val->scope_val = convert_time_val(get_int_prop(p, CP_MAILADV),
val->scope);
- s
trcpy(r->mailto_val
, get_char_prop(p, CP_MAILTO));
+ s
nprintf(r->mailto_val, sizeof(r->mailto_val), "%s"
, get_char_prop(p, CP_MAILTO));
}