Author: nkinder
Update of /cvs/dirsec/ldapserver/ldap/servers/slapd
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1388/slapd
Modified Files:
Tag: Directory71RtmBranch
log.c
Log Message:
Resolves: 440333
Summary: Fix valgrind errors about use of uninitialized values.
Index: log.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/servers/slapd/log.c,v
retrieving revision 1.6.2.5
retrieving revision 1.6.2.6
diff -u -r1.6.2.5 -r1.6.2.6
--- log.c 21 Dec 2007 21:35:08 -0000 1.6.2.5
+++ log.c 9 Jul 2008 16:50:33 -0000 1.6.2.6
@@ -3897,7 +3897,7 @@
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);
Show replies by date