summaryrefslogtreecommitdiff
path: root/source3/libads/sasl.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2004-05-07 02:48:03 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:51:28 -0500
commit63378d6f0efa4612da1aecb5dee14992ac069d0f (patch)
tree380dffa82cd416960fdea169e622bb9726562f9a /source3/libads/sasl.c
parent675ecdd5babbcf2d87e807e21375a4c0d81dfa14 (diff)
downloadsamba-63378d6f0efa4612da1aecb5dee14992ac069d0f.tar.gz
samba-63378d6f0efa4612da1aecb5dee14992ac069d0f.tar.bz2
samba-63378d6f0efa4612da1aecb5dee14992ac069d0f.zip
r541: fixing segfault in winbindd caused -r527 -- looks like a bug in heimdal; also initialize some pointers
(This used to be commit be74e88d9a4b74fcaf25b0816e3fa8a487c91ab5)
Diffstat (limited to 'source3/libads/sasl.c')
-rw-r--r--source3/libads/sasl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libads/sasl.c b/source3/libads/sasl.c
index 971156ae61..18cbb46588 100644
--- a/source3/libads/sasl.c
+++ b/source3/libads/sasl.c
@@ -273,7 +273,7 @@ static ADS_STATUS ads_sasl_gssapi_bind(ADS_STRUCT *ads)
unsigned sec_layer;
ADS_STATUS status;
krb5_principal principal;
- krb5_context ctx;
+ krb5_context ctx = NULL;
krb5_enctype enc_types[] = {
#ifdef ENCTYPE_ARCFOUR_HMAC
ENCTYPE_ARCFOUR_HMAC,