From 2b8dcc9530df96e03641e332224ab0423b41cd48 Mon Sep 17 00:00:00 2001 From: Arran Cudbard-Bell Date: Tue, 10 Dec 2013 13:35:19 +0000 Subject: [PATCH] Typo in MIT krb5 --- src/modules/rlm_krb5/rlm_krb5.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/rlm_krb5/rlm_krb5.c b/src/modules/rlm_krb5/rlm_krb5.c index 477e201f12..78bf02a851 100644 --- a/src/modules/rlm_krb5/rlm_krb5.c +++ b/src/modules/rlm_krb5/rlm_krb5.c @@ -475,7 +475,7 @@ static rlm_rcode_t krb5_auth(void *instance, REQUEST *request) /* * Retrieve the TGT from the TGS/KDC and check we can decrypt it. */ - memcpy(&password, request->password->vp_strvalue, sizeof(password)); + memcpy(&password, &request->password->vp_strvalue, sizeof(password)); ret = krb5_get_init_creds_password(context, &init_creds, client, password, NULL, NULL, 0, NULL, inst->gic_options); password = NULL; -- 2.47.3