From 2df43b6bba3098f8db87f2d4afa0f822695e7f68 Mon Sep 17 00:00:00 2001 From: Paul Park Date: Tue, 8 Aug 1995 22:00:08 +0000 Subject: [PATCH] Fix Purify complaint git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6461 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/kadm/ChangeLog | 4 ++++ src/lib/kadm/str_conv.c | 1 + 2 files changed, 5 insertions(+) diff --git a/src/lib/kadm/ChangeLog b/src/lib/kadm/ChangeLog index e1083625b..a1d2adb6c 100644 --- a/src/lib/kadm/ChangeLog +++ b/src/lib/kadm/ChangeLog @@ -1,4 +1,8 @@ +Tue Aug 8 17:35:10 EDT 1995 Paul Park (pjpark@mit.edu) + * str_conv.c - Fix Purify complaint. + + Mon Aug 7 17:38:45 EDT 1995 Paul Park (pjpark@mit.edu) * keysalt.c(krb5_string_to_keysalt) - Don't do the silly whitespace filling logic. If the string has imbedded whitespace, then diff --git a/src/lib/kadm/str_conv.c b/src/lib/kadm/str_conv.c index b925f78b3..1a994b529 100644 --- a/src/lib/kadm/str_conv.c +++ b/src/lib/kadm/str_conv.c @@ -546,6 +546,7 @@ krb5_string_to_timestamp(string, timestampp) struct tm timebuf; found = 0; + memset(&timebuf, 0, sizeof(timebuf)); for (i=0; i