krb5_copy_context() dumps core

Greg Hudson ghudson at MIT.EDU
Fri Jun 13 21:52:00 EDT 2014


On 06/13/2014 09:42 PM, Bin Lu wrote:
>    tmp_ctx = (krb5_context*)malloc(sizeof(*tmp_ctx));
>    krb5_copy_contxt(k5_ctx, tmp_ctx);
> 
> dumps core. Is this a bug?

What version are you using?  krb5_copy_context was broken in 1.8, but
was fixed in 1.12.1, 1.11.5, and on the 1.10 branch (but after the most
recent release on that branch).

https://krbdev.mit.edu/rt/Ticket/Display.html?id=7807


More information about the krbdev mailing list