request.padata before the os_localaddr call in order to avoid
freeing a null pointer in the cleanup code.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10186
dc483132-0cff-0310-8789-
dd5450dbe970
+Fri Aug 29 16:41:25 1997 Tom Yu <tlyu@mit.edu>
+
+ * get_in_tkt.c (krb5_get_in_tkt): Move nulling out of
+ request.padata before the os_localaddr call in order to avoid
+ freeing a null pointer in the cleanup code.
+
Tue Aug 12 09:13:22 1997 Ezra Peisach <epeisach@mit.edu>
* init_ctx.c (krb5_init_context): Initialize local variable ctx
request.msg_type = KRB5_AS_REQ;
request.addresses = 0;
request.ktype = 0;
+ request.padata = 0;
if (addrs)
request.addresses = (krb5_address **) addrs;
else
if ((retval = krb5_os_localaddr(context, &request.addresses)))
goto cleanup;
- request.padata = 0;
request.kdc_options = options;
request.client = creds->client;
request.server = creds->server;