diff options
author | Andrew Bartlett <abartlet@samba.org> | 2004-07-10 03:26:43 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:52:11 -0500 |
commit | 608172ebe31abd4ffa9584fd3fe411cb0955f5fa (patch) | |
tree | ec82165f2eeb4d361976e80f943587031a863855 /source3/libsmb | |
parent | 060cb43ee4d76768dffddd3a890b893aa221ce94 (diff) | |
download | samba-608172ebe31abd4ffa9584fd3fe411cb0955f5fa.tar.gz samba-608172ebe31abd4ffa9584fd3fe411cb0955f5fa.tar.bz2 samba-608172ebe31abd4ffa9584fd3fe411cb0955f5fa.zip |
r1428: Remove *completly bogus* memset. (No doubt my bug, too...).
This memset could well have clobbered bits of the stack, because
session_key changed from
char session_key[16];
to
DATA_BLOB session_key
Andrew Bartlett
(This used to be commit 54248a405c9459f93f4200ebb0dc71748ae2fc83)
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/clikrb5.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/libsmb/clikrb5.c b/source3/libsmb/clikrb5.c index b9a3dda494..5fcde4654a 100644 --- a/source3/libsmb/clikrb5.c +++ b/source3/libsmb/clikrb5.c @@ -442,8 +442,6 @@ failed: krb5_error_code err; BOOL ret = False; - memset(session_key, 0, 16); - if (remote) err = krb5_auth_con_getremotesubkey(context, auth_context, &skey); else |