ID: 12121
Updated by: jflemer
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Closed
Bug Type: *Directory/Filesystem functions
Operating System: OpenBSD 2.7
PHP Version: 4.0.6
Old Assigned To:
Assigned To: jflemer
New Comment:
o Fixed Bug #12121: chdir and safe_mode
- [ ext/standard/d
> I think that php_checkuid() should be called with
> CHECKUID_ALLOW_ONLY_FILE (whcih does not exist yet) instead of
> CHECKUID_ALLOW_ONLY_DIR. Meaning -- if the passed "filename" does not
> meet UID/GID test, it should *not* try stripping the last element and
> trying agian.
Sounds right.
-Rasm
ID: 12121
Updated by: jflemer
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: *Directory/Filesystem functions
Operating System: OpenBSD 2.7
PHP Version: 4.0.6
New Comment:
[ in ext/standard/dir.c:274 ]
I think that php_checkuid() should be called with CHECKUID_ALLOW_ONLY_FILE (whcih does