Justtechjobs.com Find a programming school near you






Online Campus Both


php-developer-list | 2000111

[PHP-DEV] Bug #7812: Crash on file upload when running as apache module From: caseq <email protected>
Date: 11/14/00

From: caseq <email protected>
Operating system: FreeBSD 3.3-RELEASE
PHP version: 3.0.17
PHP Bug Type: Reproduceable crash
Bug description: Crash on file upload when running as apache module

See bug #7799 for a script to reproduce (the bug is different, though).
The problem is in php3_init_request_info(void *conf), as it only initializes request_info.rfc1867_uploaded_files if compiled as CGI. Overall, 4 versions of this function look significantly out of sync, so other bugs are possible, too.
The problem arises later in mime.c line 256, when adding file name to uninitialized hash.

-- 
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>