Fix Purify complaint
authorPaul Park <pjpark@mit.edu>
Tue, 8 Aug 1995 22:00:08 +0000 (22:00 +0000)
committerPaul Park <pjpark@mit.edu>
Tue, 8 Aug 1995 22:00:08 +0000 (22:00 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6461 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/kadm/ChangeLog
src/lib/kadm/str_conv.c

index e1083625bb714220828159d2fd43ff4383ff0efb..a1d2adb6c136f03ed29bc49e2756d72f620fd3ae 100644 (file)
@@ -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
index b925f78b398858b9b9192a01a39e43171a025426..1a994b5298be4082b19c75d18140221f8e23f1cd 100644 (file)
@@ -546,6 +546,7 @@ krb5_string_to_timestamp(string, timestampp)
     struct tm timebuf;
 
     found = 0;
+    memset(&timebuf, 0, sizeof(timebuf));
     for (i=0; i<atime_format_table_nents; i++) {
        if (strptime(string, atime_format_table[i], &timebuf)) {
            found = 1;