diff options
| author | Ezra Peisach <epeisach@mit.edu> | 1996-06-15 08:25:39 +0000 |
|---|---|---|
| committer | Ezra Peisach <epeisach@mit.edu> | 1996-06-15 08:25:39 +0000 |
| commit | c50ee0be8cd12b48676daea8ed716a77a34c44b3 (patch) | |
| tree | 211113234f01798a039169a1fb698b4bfda684a6 /src | |
| parent | 298f5ca885f62ec3e616e1baee25f34c073e4643 (diff) | |
| download | krb5-c50ee0be8cd12b48676daea8ed716a77a34c44b3.tar.gz krb5-c50ee0be8cd12b48676daea8ed716a77a34c44b3.tar.xz krb5-c50ee0be8cd12b48676daea8ed716a77a34c44b3.zip | |
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
Diffstat (limited to 'src')
| -rw-r--r-- | src/appl/movemail/ChangeLog | 3 | ||||
| -rw-r--r-- | src/appl/movemail/movemail.c | 2 |
2 files changed, 4 insertions, 1 deletions
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 <epeisach@kangaroo.mit.edu> + + * 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 */ |
