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:
8d28d96
)
dtcm: Coverity 88587
author
Peter Howkins
<flibble@users.sf.net>
Wed, 4 Jul 2018 00:13:43 +0000
(
01:13
+0100)
committer
Peter Howkins
<flibble@users.sf.net>
Wed, 4 Jul 2018 00:13:43 +0000
(
01:13
+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 8f8778a3054e1e9c1216b7a3cf28cc8a608c0318..41cda0126d19bc2714694aab6157002f350e3aa5 100644
(file)
--- a/
cde/programs/dtcm/dtcm/reminders.c
+++ b/
cde/programs/dtcm/dtcm/reminders.c
@@
-860,7
+860,7
@@
set_reminders_defaults(Reminders *r) {
val->selected = convert_boolean_str(get_char_prop(p, CP_MAILON));
val->scope = convert_time_scope_str(get_char_prop(p, CP_MAILUNIT));
val->scope_val = get_int_prop(p, CP_MAILADV);
- 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));
set_reminders_vals(r, False);
}