From: Jeffrey Altman Date: Thu, 8 Jul 2004 14:25:40 +0000 (+0000) Subject: aklog-uninitialized-variable-20040708 X-Git-Tag: openafs-devel-1_3_66~63 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=3f337727bc68794db172b5d5163e96938d917f89;p=packages%2Fo%2Fopenafs.git aklog-uninitialized-variable-20040708 make sure that the krb5_context is initialized to 0. Otherwise, we might try to free it. --- diff --git a/src/WINNT/aklog/aklog.c b/src/WINNT/aklog/aklog.c index 00a5cdb3a..f3a6fb435 100644 --- a/src/WINNT/aklog/aklog.c +++ b/src/WINNT/aklog/aklog.c @@ -990,7 +990,7 @@ int main(int argc, char *argv[]) linked_list paths; /* List of paths to log to */ ll_node *cur_node; - krb5_context context; + krb5_context context = 0; memset(&cellinfo, 0, sizeof(cellinfo));