summaryrefslogtreecommitdiffstats
path: root/finance/gnucash/files/patch-src_app-utils_guile-util.c
diff options
context:
space:
mode:
Diffstat (limited to 'finance/gnucash/files/patch-src_app-utils_guile-util.c')
-rw-r--r--finance/gnucash/files/patch-src_app-utils_guile-util.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/finance/gnucash/files/patch-src_app-utils_guile-util.c b/finance/gnucash/files/patch-src_app-utils_guile-util.c
new file mode 100644
index 000000000..bb20423f6
--- /dev/null
+++ b/finance/gnucash/files/patch-src_app-utils_guile-util.c
@@ -0,0 +1,11 @@
+--- src/app-utils/guile-util.c.orig 2010-12-29 16:06:05.000000000 +0100
++++ src/app-utils/guile-util.c 2010-12-29 16:06:38.000000000 +0100
+@@ -1317,6 +1317,8 @@ gnc_parse_time_to_timet(const gchar *s,
+
+ g_return_val_if_fail(s && format, -1);
+
++ bzero(&tm, sizeof(tm));
++
+ if (!strptime(s, format, &tm))
+ return -1;
+