Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > by-pkgid > 503ea2da195f2c9507d8d2ba5661e11a > files > 2

sudo-1.7.2p1-6.el5_5.src.rpm

--- a/match.c	Tue Feb 09 10:43:20 2010 -0500
+++ a/match.c	Mon Feb 22 17:29:44 2010 -0500
@@ -375,7 +375,7 @@ 
     char *sudoers_args;
 {
     /* Check for pseudo-commands */
-    if (strchr(user_cmnd, '/') == NULL) {
+    if (sudoers_cmnd[0] != '/') {
 	/*
 	 * Return true if both sudoers_cmnd and user_cmnd are "sudoedit" AND
 	 *  a) there are no args in sudoers OR