From: Ezra Peisach Date: Sat, 15 Jun 1996 08:25:39 +0000 (+0000) Subject: Initialize auth_context to NULL before calling krb5_sendauth - otherwise X-Git-Tag: krb5-1.0-beta7~343 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c50ee0be8cd12b48676daea8ed716a77a34c44b3;p=krb5.git Initialize auth_context to NULL before calling krb5_sendauth - otherwise it is treated as pointing to valid memory... (Patch provided by Bill Sommerfeld) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8367 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/appl/movemail/ChangeLog b/src/appl/movemail/ChangeLog index 4ab3f22f1..519a4f248 100644 --- a/src/appl/movemail/ChangeLog +++ b/src/appl/movemail/ChangeLog @@ -1,3 +1,6 @@ +Sat Jun 15 04:23:36 1996 Ezra Peisach + + * movemail.c: Initialize auth_context to NULL. Fri Jul 7 15:44:13 EDT 1995 Paul Park (pjpark@mit.edu) * Makefile.in - Remove all explicit library handling and LDFLAGS. diff --git a/src/appl/movemail/movemail.c b/src/appl/movemail/movemail.c index a0bf68217..d02978e3e 100644 --- a/src/appl/movemail/movemail.c +++ b/src/appl/movemail/movemail.c @@ -535,7 +535,7 @@ char *host; krb5_context context; krb5_principal client, server; krb5_error *err_ret = NULL; - krb5_auth_context auth_context; + krb5_auth_context auth_context = NULL; char *hostname; #endif /* KRB5 */ #endif /* KERBEROS */