php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7812 Crash on file upload when running as apache module
Submitted: 2000-11-14 10:51 UTC Modified: 2002-06-16 08:23 UTC
From: caseq at paranoia dot ru Assigned:
Status: Not a bug Package: Reproducible Crash
PHP Version: 3.0.17 OS: FreeBSD 3.3-RELEASE
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: caseq at paranoia dot ru
New email:
PHP Version: OS:

 

 [2000-11-14 10:51 UTC] caseq at paranoia dot ru
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.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-16 08:23 UTC] sander@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately, PHP 3 is no longer supported. Please download
the latest version of PHP 4 from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 14:01:34 2025 UTC