mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-22 01:56:00 -04:00
After gss_accept_sec_context() succeeds, the GSS context is passed to dst_key_fromgssapi() which transfers ownership to the dst_key. If a subsequent operation fails (dst_key_fromgssapi itself, dns_tsigkey_createfromkey, or dns_tsigkeyring_add), the cleanup label frees the dst_key but only if it was created. If the failure happened before dst_key_fromgssapi, the GSS context was orphaned. Delete the GSS context in the cleanup path when it was not transferred to a dst_key. |
||
|---|---|---|
| .. | ||
| dns | ||
| isc | ||
| isccc | ||
| isccfg | ||
| ns | ||
| .gitignore | ||
| meson.build | ||