Skip to content

Commit

Permalink
ticket: 1206
Browse files Browse the repository at this point in the history
	* do_as_req.c (process_as_req): Fix previous patch; it caused an
	uninitialized pointer to be dereferenced under certain error
	conditions.
	[pullup from trunk]


git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-2-2-branch@14965 dc483132-0cff-0310-8789-dd5450dbe970
  • Loading branch information
tlyu committed Nov 4, 2002
1 parent 8a8148c commit f6ee76b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions src/kdc/ChangeLog
@@ -1,3 +1,10 @@
2002-11-03 Tom Yu <tlyu@mit.edu>

* do_as_req.c (process_as_req): Fix previous patch; it caused an
uninitialized pointer to be dereferenced under certain error
conditions.
[pullup from trunk]

2002-10-30 Sam Hartman <hartmans@mit.edu>

* kdc_util.c (add_to_transited): Don't include trailing null in
Expand Down
2 changes: 1 addition & 1 deletion src/kdc/do_as_req.c
Expand Up @@ -86,6 +86,7 @@ krb5_data **response; /* filled in with a response packet */
ticket_reply.enc_part.ciphertext.data = 0;
e_data.data = 0;
encrypting_key.contents = 0;
reply.padata = 0;
session_key.contents = 0;

ktypes2str(ktypestr, sizeof(ktypestr),
Expand Down Expand Up @@ -365,7 +366,6 @@ krb5_data **response; /* filled in with a response packet */

/* Start assembling the response */
reply.msg_type = KRB5_AS_REP;
reply.padata = 0;
reply.client = request->client;
reply.ticket = &ticket_reply;
reply_encpart.session = &session_key;
Expand Down

0 comments on commit f6ee76b

Please sign in to comment.