1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

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)
This commit is contained in:
Andrew Bartlett 2004-07-10 03:26:43 +00:00 committed by Gerald (Jerry) Carter
parent 060cb43ee4
commit 608172ebe3

View File

@ -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