[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bad interraction between krb5_context and krb5_ccache
Joel Kociolek <joko@logidee.com> writes:
> In lib/krb5/cache.c, the function allocate_ccache only copies the
> ops pointer into the new ccache. Unfortunately, when the context is
> destroyed, ops->prefix is freed and the ccache becomes invalid,
> which can cause a subsequent use of it to segfault.
I think this is an error. You shouldn't use a cache if the context has
been destroyed.
/Johan