Re: opendir SafeMode Multiuser Problem/Patch

From: Date: Sun, 03 Mar 2002 21:07:05 +0000
Subject: Re: opendir SafeMode Multiuser Problem/Patch
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-80654@lists.php.net to get a copy of this message
At 03:54 PM 3/3/2002 -0500, James E. Flemer wrote: >Well actually, open_basedir is not *supposed* to check >UIDs. However, safe_mode *is*, and it was not for the >opendir() function. So I patched it to do so (in CVS). Also >I noticed that when the CHECKUID_ALLOW_ONLY_DIR flag is >passed to php_checkuid(), that it misses the case where you >are referring to the root directory (because the leading >slash is changed to a null, and so VCWD_STAT was being >passed a null string instead of "/" or "\\"). I fixed that >as well. ok Thanks a lot. I was gonna repost my mail thinking it had been read over and not taken care of :) The strange behavior of safe_mode anad the CHECKUID_ALLOW_ONLY_DIR is something i had also patched before but didn't remember :) So it's a double feature .. Pretty cool :) I'll be happy not to have to patch this next time we upgrade our php version for our members :) Thanks a lot. Have a nice evenin' :) Later -- Mark Villemade Hosting Services Technical Manager MultiMania / Lycos (int) +33 1 53 27 24 05

« previous php.dev (#80654) next »