diff options
author | Nathan Kinder <nkinder@redhat.com> | 2008-04-03 17:18:11 +0000 |
---|---|---|
committer | Nathan Kinder <nkinder@redhat.com> | 2008-04-03 17:18:11 +0000 |
commit | c1b2db5308dd275d16d96ae57e37aad73aa4bd2a (patch) | |
tree | 2d07893d067ec6913ea9b002470da0da3150718b /ldap/servers/slapd/log.c | |
parent | 58b91ec4cb2b7b4ede0b9cb48bf54c1ca9c34d78 (diff) | |
download | ds-c1b2db5308dd275d16d96ae57e37aad73aa4bd2a.tar.gz ds-c1b2db5308dd275d16d96ae57e37aad73aa4bd2a.tar.xz ds-c1b2db5308dd275d16d96ae57e37aad73aa4bd2a.zip |
Resolves: 440333
Summary: Fixed valrgind errors about use of unitialized values.
Diffstat (limited to 'ldap/servers/slapd/log.c')
-rw-r--r-- | ldap/servers/slapd/log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ldap/servers/slapd/log.c b/ldap/servers/slapd/log.c index cc4c6cd4..ac055e08 100644 --- a/ldap/servers/slapd/log.c +++ b/ldap/servers/slapd/log.c @@ -4007,7 +4007,7 @@ log_convert_time (time_t ctime, char *tbuf, int type) static time_t log_reverse_convert_time(char *tbuf) { - struct tm tm; + struct tm tm = {0}; if (strchr(tbuf, '-')) { /* short format */ strptime(tbuf, "%Y%m%d-%H%M%S", &tm); |