]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Typo in MIT krb5
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Tue, 10 Dec 2013 13:35:19 +0000 (13:35 +0000)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Tue, 10 Dec 2013 13:35:34 +0000 (13:35 +0000)
src/modules/rlm_krb5/rlm_krb5.c

index 477e201f12f75dd8097501fe063d9d906285bd70..78bf02a851d96e08db67279ac5ea3af40f0fb1bd 100644 (file)
@@ -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;