diff options
author | Jeremy Allison <jra@samba.org> | 2003-05-01 18:11:24 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2003-05-01 18:11:24 +0000 |
commit | 269a48fedc03f8351384c7d1eeb89d7fbc4e084e (patch) | |
tree | a72ee73037123648a440876071508360ecd11c74 /source3/smbd | |
parent | 7ce38082f3dcf01dd9818757f32658adf609d830 (diff) | |
download | samba-269a48fedc03f8351384c7d1eeb89d7fbc4e084e.tar.gz samba-269a48fedc03f8351384c7d1eeb89d7fbc4e084e.tar.bz2 samba-269a48fedc03f8351384c7d1eeb89d7fbc4e084e.zip |
Fix uninitialized blobs reported by Luke Howard.
Jeremy.
(This used to be commit 8dcc00899977a126d5782e44bdae74175ecc0d93)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/sesssetup.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/smbd/sesssetup.c b/source3/smbd/sesssetup.c index 3fa3fa411f..a9842424a5 100644 --- a/source3/smbd/sesssetup.c +++ b/source3/smbd/sesssetup.c @@ -153,6 +153,12 @@ static int reply_spnego_kerberos(connection_struct *conn, uint8 tok_id[2]; BOOL foreign = False; + ZERO_STRUCT(ticket); + ZERO_STRUCT(auth_data); + ZERO_STRUCT(ap_rep); + ZERO_STRUCT(ap_rep_wrapped); + ZERO_STRUCT(response); + if (!spnego_parse_krb5_wrap(*secblob, &ticket, tok_id)) { return ERROR_NT(NT_STATUS_LOGON_FAILURE); } |