Numerous context reference s were missing. Alerted to first by
authorEzra Peisach <epeisach@mit.edu>
Tue, 9 May 1995 20:05:24 +0000 (20:05 +0000)
committerEzra Peisach <epeisach@mit.edu>
Tue, 9 May 1995 20:05:24 +0000 (20:05 +0000)
wolfgang@wsrcc.com (Wolfgang Rupprecht).

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5785 dc483132-0cff-0310-8789-dd5450dbe970

src/clients/ksu/ChangeLog
src/clients/ksu/heuristic.c

index 730d0c0a006bec343cc024b59a58f0ef67179f2f..9559c6dc8a8f1d70d84e13910e37b61f8f3d4476 100644 (file)
@@ -1,3 +1,12 @@
+Tue May  9 15:52:15 1995  Ezra Peisach  <epeisach@kangaroo.mit.edu>
+
+       * 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.
index 8059d50f03d25f8b3d9f0692ab27bb8d75546d51..d65fedb985313811e29d2d2434940c7546fb8a78 100644 (file)
@@ -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;  
                }