From 49158276a6e799993de7e77b61cb82e8ebe2443b Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 29 Jun 2012 20:36:04 +0000 Subject: [PATCH] -fix --- src/util/strings.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/util/strings.c b/src/util/strings.c index 9c7f95e7c..3167c9610 100644 --- a/src/util/strings.c +++ b/src/util/strings.c @@ -324,6 +324,7 @@ GNUNET_STRINGS_fancy_time_to_absolute (const char *fancy_time, struct tm tv; time_t t; + memset (&tv, 0, sizeof (tv)); if ( (NULL == strptime (fancy_time, "%c", &tv)) && (NULL == strptime (fancy_time, "%Ec", &tv)) && (NULL == strptime (fancy_time, "%Y-%m-%d %H:%M:%S", &tv)) && -- 2.25.1