php-developer-list | 2001041
Date: 04/13/01
- Next message: Wez Furlong: "Re: [PHP-DEV] GD 2.0.1 and FreeType 2"
- Previous message: metzidis <email protected>: "[PHP-DEV] Bug #10321: Apache Crash"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: php-bugrep <email protected>
Operating system: All
PHP version: 4.0.4pl1
PHP Bug Type: PHP options/info functions
Bug description: Logical error in fopen-wrappers.c
In main/fopen_wrappers.c I see that there is a function:
PHPAPI int php_check_specific_open_basedir(char *basedir, char *path PLS_DC)
However "basedir" is never used in this function at all,
only PG(open_basedir).
Surely this negates the point of the function being called individually for each tokenised entry on open_basedir/php.ini? I think it will only match, ever, on the first entry in the config file.
So, should all references to PG(open_basedir) in php_check_specific_open_basedir() be replaced with the arg basedir ?
Thanks,
Paul Gregg
(Hacking in support for DOCUMENT_ROOT as another "specical case")
-- Edit Bug report at: http://bugs.php.net/?id=10322&edit=1-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Wez Furlong: "Re: [PHP-DEV] GD 2.0.1 and FreeType 2"
- Previous message: metzidis <email protected>: "[PHP-DEV] Bug #10321: Apache Crash"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

