From:             
Operating system: Win All
PHP version:      5.4.0RC5
Package:          Reproducible crash
Bug Type:         Bug
Bug description:Any php file of size 8192 bytes crashes Apache and PHP

Description:
------------
1. use Test script to generate crash.php, size 8192 bytes
2. now let crash php engine crash.php
3. Any php file of size 8192 bytes crashes Apache and PHP!
4. Tested with Apache 2.2.21 V9 apache longue, PHP 5.4.0 RC5 or RC6 dev on
three other machines, Win 7 x86 or Win 7 x64.

Test script:
---------------
testcase php file generator:

<?php

 $out='<?php//';
 for($z=0;$z<8192-9;$z++){$out.=mt_rand(0,9);}
 $out.='?>';

 file_put_contents('crash.php',$out);

 print('1. testcase file generated: crash.php, size '.strlen($out).'
bytes<br/>');
 print('2. now let crash php engine <a
href="crash.php">crash.php</a><br/>');
 print('<b style="color:red">3. Any php file of size 8192 bytes crashes
Apache and PHP!</b><br/>');
 print('4. Tested with Apache 2.2.21 V9 apache longue, PHP 5.4.0 RC5 or RC6
dev on three other machines, Win 7 x86 or Win 7 x64.<br/>');
?>

Expected result:
----------------
NO crash

Actual result:
--------------
CRASH

-- 
Edit bug report at https://bugs.php.net/bug.php?id=60709&edit=1
-- 
Try a snapshot (PHP 5.4):            
https://bugs.php.net/fix.php?id=60709&r=trysnapshot54
Try a snapshot (PHP 5.3):            
https://bugs.php.net/fix.php?id=60709&r=trysnapshot53
Try a snapshot (trunk):              
https://bugs.php.net/fix.php?id=60709&r=trysnapshottrunk
Fixed in SVN:                        
https://bugs.php.net/fix.php?id=60709&r=fixed
Fixed in SVN and need be documented: 
https://bugs.php.net/fix.php?id=60709&r=needdocs
Fixed in release:                    
https://bugs.php.net/fix.php?id=60709&r=alreadyfixed
Need backtrace:                      
https://bugs.php.net/fix.php?id=60709&r=needtrace
Need Reproduce Script:               
https://bugs.php.net/fix.php?id=60709&r=needscript
Try newer version:                   
https://bugs.php.net/fix.php?id=60709&r=oldversion
Not developer issue:                 
https://bugs.php.net/fix.php?id=60709&r=support
Expected behavior:                   
https://bugs.php.net/fix.php?id=60709&r=notwrong
Not enough info:                     
https://bugs.php.net/fix.php?id=60709&r=notenoughinfo
Submitted twice:                     
https://bugs.php.net/fix.php?id=60709&r=submittedtwice
register_globals:                    
https://bugs.php.net/fix.php?id=60709&r=globals
PHP 4 support discontinued:          
https://bugs.php.net/fix.php?id=60709&r=php4
Daylight Savings:                    https://bugs.php.net/fix.php?id=60709&r=dst
IIS Stability:                       
https://bugs.php.net/fix.php?id=60709&r=isapi
Install GNU Sed:                     
https://bugs.php.net/fix.php?id=60709&r=gnused
Floating point limitations:          
https://bugs.php.net/fix.php?id=60709&r=float
No Zend Extensions:                  
https://bugs.php.net/fix.php?id=60709&r=nozend
MySQL Configuration Error:           
https://bugs.php.net/fix.php?id=60709&r=mysqlcfg

Reply via email to