[BACK]Return to sudo.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / sudo

Diff for /src/usr.bin/sudo/Attic/sudo.c between version 1.25 and 1.26

version 1.25, 2005/05/31 21:13:43 version 1.26, 2005/06/19 22:00:08
Line 275 
Line 275 
         /* Validate the user but don't search for pseudo-commands. */          /* Validate the user but don't search for pseudo-commands. */
         validated = sudoers_lookup(pwflag);          validated = sudoers_lookup(pwflag);
     }      }
       if (safe_cmnd == NULL)
           safe_cmnd = user_cmnd;
   
     /*      /*
      * If we are using set_perms_posix() and the stay_setuid flag was not set,       * If we are using set_perms_posix() and the stay_setuid flag was not set,
Line 389 
Line 391 
             sudo_ldap_list_matches();              sudo_ldap_list_matches();
 #endif  #endif
             exit(0);              exit(0);
         }  
   
         /* This *must* have been set if we got a match but... */  
         if (safe_cmnd == NULL) {  
             log_error(MSG_ONLY,  
                 "internal error, safe_cmnd never got set for %s; %s",  
                 user_cmnd,  
                 "please report this error at http://courtesan.com/sudo/bugs/");  
         }          }
   
         /* Override user's umask if configured to do so. */          /* Override user's umask if configured to do so. */

Legend:
Removed from v.1.25  
changed lines
  Added in v.1.26