krb5/krb5 — pull request #36 by arr2036 (2013-12-10 17:21:27+00:00)
Title: Fix segv in krb5_copy_context. 

Should check that ctx->in_tkt_types and ctx->tgs_etypes are not NULL before calling k5_copy_types.

k5_copy_types doesn't check whether *old_list is NULL, calls k5_count_types which then attempts to dereference elements in the NULL pointer and unsurprisingly segfaults.