diff options
author | Andrew Bartlett <abartlet@samba.org> | 2004-07-10 03:26:43 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2004-07-10 03:26:43 +0000 |
commit | 9d2b7b7d32a5a7df101a65b34feb3f226e30ea73 (patch) | |
tree | 39088f8056bcf2a508adbbbf36710d4c3f9dfddd /source/libsmb/clikrb5.c | |
parent | 36b1f0b9ec0e9227ccb3f1f9ff024a6e7c3819b9 (diff) | |
download | samba-9d2b7b7d32a5a7df101a65b34feb3f226e30ea73.tar.gz samba-9d2b7b7d32a5a7df101a65b34feb3f226e30ea73.tar.xz samba-9d2b7b7d32a5a7df101a65b34feb3f226e30ea73.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
Diffstat (limited to 'source/libsmb/clikrb5.c')
-rw-r--r-- | source/libsmb/clikrb5.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source/libsmb/clikrb5.c b/source/libsmb/clikrb5.c index b9a3dda4944..5fcde4654ad 100644 --- a/source/libsmb/clikrb5.c +++ b/source/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 |