mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-11 08:52:06 +00:00
Fix segfault during Kerberos initialization
This commit is contained in:
parent
e33dc02c8c
commit
86685685d3
@ -44,7 +44,7 @@ private:
|
|||||||
krb5_ccache defcache = nullptr;
|
krb5_ccache defcache = nullptr;
|
||||||
krb5_get_init_creds_opt * options = nullptr;
|
krb5_get_init_creds_opt * options = nullptr;
|
||||||
// Credentials structure including ticket, session key, and lifetime info.
|
// Credentials structure including ticket, session key, and lifetime info.
|
||||||
krb5_creds my_creds;
|
krb5_creds my_creds {};
|
||||||
krb5_keytab keytab = nullptr;
|
krb5_keytab keytab = nullptr;
|
||||||
krb5_principal defcache_princ = nullptr;
|
krb5_principal defcache_princ = nullptr;
|
||||||
String fmtError(krb5_error_code code) const;
|
String fmtError(krb5_error_code code) const;
|
||||||
|
Loading…
Reference in New Issue
Block a user