]> git.ipfire.org Git - thirdparty/samba.git/commit
r23132: Resolve an issue where we would use the ccache after we free()ed it.
authorAndrew Bartlett <abartlet@samba.org>
Fri, 25 May 2007 05:19:02 +0000 (05:19 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 25 May 2007 05:19:02 +0000 (05:19 +0000)
commit0639fb3834c8af3e720e4f0ced2f39ee5c5f10ae
tree65ae1b2afaa421441e6a85b33e927a84a91f1940
parent947ce1cb64b8b2e97b0d7775b78587bf6470cb89
r23132: Resolve an issue where we would use the ccache after we free()ed it.

The problem was, we would set the ccache, then invalidate it as we set
details from it (like the principal name from the ccache).

Instead, set the ccache onto the credentials structure after we are
done processing it.

Andrew Bartlett
source/auth/auth_util.c
source/auth/credentials/credentials_krb5.c