Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix unlikely null dereference in mk_cred()
If krb5_encrypt_keyhelper() returns an error, the ciphertext structure may contain a non-zero length, but it will already have freed the pointer to its data, making encrypt_credencpart()'s subsequent attempt to clear and free the memory fail. Remove that logic. Based on a patch from Jatin Nansi. (cherry picked from commit 476284d) ticket: 7948 version_fixed: 1.12.2 status: resolved
- Loading branch information