php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #60998 Apache crashes on 4096 bytes PHP scripts
Submitted: 2012-02-07 07:16 UTC Modified: 2012-02-07 10:42 UTC
Votes:1
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: bug at weezo dot net Assigned: dmitry (profile)
Status: Duplicate Package: Apache2 related
PHP Version: 5.3.10 OS: Win32
Private report: No CVE-ID: None
 [2012-02-07 07:16 UTC] bug at weezo dot net
Description:
------------
Apache server systematically crashes when a 4096 bytes PHP script is called (either directly or included by another PHP script). 

Bug is also present higher power of 2 file sizes.
Everything works fine with CLI.

Tested on Win XP & Win 7, with 3 different 32bytes apache/PHP env (wampserver env, php 5.3.10 from php.net, self compiled PHP with apachelounge apache version), and a 64bytes version of apache/PHP.

Test script:
---------------
Any 4096 bytes script.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-02-07 09:07 UTC] pajoye@php.net
Lexer issue is back. Or was it not applied before 5.3.9? As 5.3.10 was released 
based on 5.3.9 only?
 [2012-02-07 09:07 UTC] pajoye@php.net
-Status: Open +Status: Assigned -Assigned To: +Assigned To: dmitry
 [2012-02-07 10:42 UTC] pajoye@php.net
It is already fixed in SVN.

The fix for this lexer bug was applied to 5.3 after 5.3.9. This issue was not back 
ported to 5.3.10, which was 5.3.9 with only the fix for a critical issue.

Thanks for your report!
 [2012-02-07 10:42 UTC] pajoye@php.net
-Status: Assigned +Status: Duplicate
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 12:01:30 2024 UTC