git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
731eba7
)
Fix uninitialized blobs reported by Luke Howard.
author
Jeremy Allison
<jra@samba.org>
Thu, 1 May 2003 18:11:59 +0000
(18:11 +0000)
committer
Jeremy Allison
<jra@samba.org>
Thu, 1 May 2003 18:11:59 +0000
(18:11 +0000)
Jeremy.
(This used to be commit
e954ca2ce8ec6b36794585c3bc948140cf9e7947
)
source3/smbd/sesssetup.c
patch
|
blob
|
history
diff --git
a/source3/smbd/sesssetup.c
b/source3/smbd/sesssetup.c
index 3fa3fa411f6859b7bb6dee6d289ef43a27910139..a9842424a56654b1de1180daaffe1f3085abbd33 100644
(file)
--- 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);
}