From 696ba8d0fc4996c0114628a7d321dd0116af01f5 Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Tue, 9 May 1995 20:05:24 +0000 Subject: [PATCH] Numerous context reference s were missing. Alerted to first by wolfgang@wsrcc.com (Wolfgang Rupprecht). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5785 dc483132-0cff-0310-8789-dd5450dbe970 --- src/clients/ksu/ChangeLog | 9 +++++++++ src/clients/ksu/heuristic.c | 12 ++++++------ 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/src/clients/ksu/ChangeLog b/src/clients/ksu/ChangeLog index 730d0c0a0..9559c6dc8 100644 --- a/src/clients/ksu/ChangeLog +++ b/src/clients/ksu/ChangeLog @@ -1,3 +1,12 @@ +Tue May 9 15:52:15 1995 Ezra Peisach + + * heuristic.c (get_best_princ_for_target): Missing context cuased + coredump. + (get_best_princ_for_target): Missing contexts in call to + find_either_ticket. + (find_either_ticket): Missing context in call of find_ticket + (get_best_princ_for_target): Add missing context + Thu Mar 16 20:50:32 1995 John Gilmore (gnu at toad.com) * configure.in: Replace CHECK_STDARG with AC_CHECK_HEADERS. diff --git a/src/clients/ksu/heuristic.c b/src/clients/ksu/heuristic.c index 8059d50f0..d65fedb98 100644 --- a/src/clients/ksu/heuristic.c +++ b/src/clients/ksu/heuristic.c @@ -417,7 +417,7 @@ cc_source_name = krb5_cc_get_name(context, cc); if ( ! stat(cc_source_name, &st_temp)){ - if (retval = find_ticket (cc, client, end_server, &temp_found)) { + if (retval = find_ticket (context, cc, client, end_server, &temp_found)) { return retval; } @@ -430,7 +430,7 @@ if ( ! stat(cc_source_name, &st_temp)){ return retval ; } - if(retval = find_ticket (cc,client, kdc_server, &temp_found)) { + if(retval = find_ticket (context, cc,client, kdc_server, &temp_found)) { return retval; } } @@ -684,14 +684,14 @@ for (i= 0; i < count; i ++){ for (i= 0; i < count; i ++){ if(princ_trials[i].p){ - if (retval= find_princ_in_list(princ_trials[i].p, aplist, &found)){ + if (retval= find_princ_in_list(context, princ_trials[i].p, aplist, &found)){ return retval; } if ( found == TRUE){ princ_trials[i].found = TRUE; - if (retval = find_either_ticket (cc_source, princ_trials[i].p, + if (retval = find_either_ticket (context, cc_source, princ_trials[i].p, end_server, &found)){ return retval; } @@ -716,7 +716,7 @@ while (aplist[i]){ return retval; } - if (retval = find_either_ticket (cc_source, temp_client, + if (retval = find_either_ticket (context, cc_source, temp_client, end_server, &found)){ return retval; } @@ -762,7 +762,7 @@ for (i=0; i < count; i ++){ /* get the client name that is the closest to the three princ in trials */ - if(retval=get_closest_principal(aplist, &temp_client, & found)){ + if(retval=get_closest_principal(context, aplist, &temp_client, & found)){ return retval; } -- 2.26.2