From: Christian Grothoff Date: Fri, 29 Jun 2012 20:36:04 +0000 (+0000) Subject: -fix X-Git-Tag: initial-import-from-subversion-38251~12719 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=49158276a6e799993de7e77b61cb82e8ebe2443b;p=oweals%2Fgnunet.git -fix --- 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)) &&