From: Ezra Peisach Date: Thu, 18 Mar 2004 16:49:33 +0000 (+0000) Subject: krb5_sendto_kdc passing improper argument to krb5_locate_kdc X-Git-Tag: krb5-1.4-beta1~533 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=89cb25dae921d67d8ee4d09ea3f06df1281cad39;p=krb5.git 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 --- 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);