php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #39514 IIS crashes with one line of code
Submitted: 2006-11-14 21:13 UTC Modified: 2006-11-15 20:57 UTC
From: mailforlindsay at gmail dot com Assigned:
Status: Not a bug Package: Reproducible crash
PHP Version: 4.4.4 OS: Windows
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: mailforlindsay at gmail dot com
New email:
PHP Version: OS:

 

 [2006-11-14 21:13 UTC] mailforlindsay at gmail dot com
Description:
------------
With various IIS servers runnin PHP 4.x.x (various 4.3.x and 4.3.x) - i can crash IIS, so that it needs to be stopped and restarted with 1 line of code.

Reproduce code:
---------------
<?
header("location:/currentfile.php"); 
// forward slash causes crash
// currentfile.php is the exact basename of this file 
?>

Expected result:
----------------
It should fail elegantly. By itself, this should produce an infinite loop and time out - and that's exactly what happens if you create the loop without the leading "/". But with the slash IIS crashes. 

Actual result:
--------------
IIS Crashes. I'm using IIS 5 on windows 2000. I've also reproduced it on remote machines whos details i don't know.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-11-15 09:33 UTC] tony2001@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.


 [2006-11-15 20:35 UTC] mailforlindsay at gmail dot com
Unfortunately I don't have the time to do that. So I'll let you guys do what you want with this report. If you have access to any IIS server, try it - it's just one line. If you get the crash too, then you'll be much better equiped to get the information you need. If not then its something specific to the few setups I tried - no biggy.
 [2006-11-15 20:57 UTC] tony2001@php.net
We are aware of PHP's problems with stability under IIS and are working 
to rectify the problem. Unfortunatly your bug report does not contain any
extra useful information and we already have enough bug reports open about
this issue. If you can provide more detailed information such as a 
reproducable crash or a backtrace please do so and reopen this bug. 
Otherwise please keep trying new releases as we are working to resolve 
the problems on this platform
 
Thanks for your interest in PHP.


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Jul 14 09:01:31 2025 UTC