krb5int_fast_free_state segfaults if state is null
authorSam Hartman <hartmans@mit.edu>
Tue, 9 Feb 2010 19:15:12 +0000 (19:15 +0000)
committerSam Hartman <hartmans@mit.edu>
Tue, 9 Feb 2010 19:15:12 +0000 (19:15 +0000)
commit19f23a3e34fe581e986d579b0bd87abfce664365
treef79e5d7c9b36c571b4a26195f35f4c1c2b71eba0
parent7a04b369aa71b0796f057cf5da57070a9c37c9c8
krb5int_fast_free_state segfaults if state is null

krb5int_fast_free_state fails if state is null.  INstead it should
simply return Reorganization of the get_init_creds logic has created
situations where the init_creds loop can fail between the time when
the context is initialized and the fast state is initialized.

ticket: 6657
target_version: 1.8
tags: pullup

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23713 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/krb5/krb/fast.c