Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix possible double-free during KDB creation
In krb5_dbe_def_encrypt_key_data(), when we free key_data->key_data_contents[0], reset it to null so the caller doesn't free it as well. Since commit a06945b this bug manifests as a double-free during KDB creation if master key encryption fails. [ghudson@mit.edu: edited commit message] (cherry picked from commit fddd419) ticket: 9086 version_fixed: 1.20.2
- Loading branch information