|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #53807 Apache CRASH (getopt)
Submitted: 2011-01-21 22:39 UTC Modified: 2011-11-23 02:47 UTC
Avg. Score:5.0 ± 0.0
Reproduced:0 of 1 (0.0%)
From: hm at mail dot ru Assigned: laruence (profile)
Status: Closed Package: Output Control
PHP Version: 5.3.5 OS: WINDOWS XP SP3 x86
Private report: No CVE-ID: None
 [2011-01-21 22:39 UTC] hm at mail dot ru
Apache is restarting (crash) after launch the script in browser.

Test script:
    $options = getopt('t:d:e:l');

Expected result:
Crash apache


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2011-01-28 21:55 UTC]
-Status: Open +Status: Feedback
 [2011-01-28 21:55 UTC]
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 for *NIX and 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.

 [2011-11-22 08:57 UTC] dio at integraasp dot com
Description :
same problem with getopt, apache connection was reset after runs the following script from browser. in the CLI, the script works fine.

the script:
    $arrOpt = getopt("d:");

result in the browser :
The connection was reset
 [2011-11-23 02:47 UTC]
I believe this bug has been fixed in:

 [2011-11-23 02:47 UTC]
-Status: Feedback +Status: Closed -Assigned To: +Assigned To: laruence
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Jul 15 22:01:28 2024 UTC