From 89cb25dae921d67d8ee4d09ea3f06df1281cad39 Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Thu, 18 Mar 2004 16:49:33 +0000 Subject: [PATCH] krb5_sendto_kdc passing improper argument to krb5_locate_kdc * sendto_kdc.c (krb5_sendto_kdc): Change passing pointer to value of use_master parameter to krb5_locate_kdc. Error was introduced in 2/26 code change. ticket: new tags: pullup target_version: next git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16184 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/os/ChangeLog | 5 +++++ src/lib/krb5/os/sendto_kdc.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/lib/krb5/os/ChangeLog b/src/lib/krb5/os/ChangeLog index e581ef440..65ad4cd51 100644 --- a/src/lib/krb5/os/ChangeLog +++ b/src/lib/krb5/os/ChangeLog @@ -1,3 +1,8 @@ +2004-03-18 Ezra Peisach + + * sendto_kdc.c (krb5_sendto_kdc): Change passing pointer to value of + use_master parameter to krb5_locate_kdc. + 2004-03-05 Ken Raeburn * lock_file.c (krb5_lock_file): Initialize flock data on entry, diff --git a/src/lib/krb5/os/sendto_kdc.c b/src/lib/krb5/os/sendto_kdc.c index c2fdb35d7..ad53250d0 100644 --- a/src/lib/krb5/os/sendto_kdc.c +++ b/src/lib/krb5/os/sendto_kdc.c @@ -314,7 +314,7 @@ krb5_sendto_kdc (krb5_context context, const krb5_data *message, if (socktype2) { struct addrlist addrs2; - retval = krb5_locate_kdc(context, realm, &addrs2, use_master, + retval = krb5_locate_kdc(context, realm, &addrs2, *use_master, socktype2, 0); if (retval == 0) { (void) merge_addrlists(&addrs, &addrs2); -- 2.26.2