php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15293 Incorrect brackets in strlen crashes server
Submitted: 2002-01-30 03:41 UTC Modified: 2002-03-05 00:00 UTC
Votes:1
Avg. Score:1.0 ± 0.0
Reproduced:0 of 1 (0.0%)
From: phil dot whittaker at phoenixtelecom dot co dot uk Assigned:
Status: No Feedback Package: Reproducible crash
PHP Version: 4.0.6 OS: Linux 2.2.14-5.0 (RedHat 6.2)
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: phil dot whittaker at phoenixtelecom dot co dot uk
New email:
PHP Version: OS:

 

 [2002-01-30 03:41 UTC] phil dot whittaker at phoenixtelecom dot co dot uk
Using an apache linux box if the brackets are in the wrong place, (see below) the box spawns hundreds of processes eventually crashing the server.

(strlen($local[1] < "3"))
[INCORRECT BRACKETS]

Rather than:

(strlen($local[1]) < "3")
[CORRECT BRACKETS]

[Basic php install with sigchild enabled and Oracle support]

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-01-30 14:52 UTC] sander@php.net
Can you provide a backtrace (see http://bugs.php.net/bugs-generating-backtrace.php) and your configure-line?
 [2002-01-31 02:12 UTC] phil dot whittaker at phoenixtelecom dot co dot uk
'./configure' '--with-oracle=/u01/app/oracle/product/8.1.6' '--with-oci8=/u01/app/oracle/product/8.1.6' '--with-apache=/usr/local/apache_1.3.20' '--enable-sigchild' 

Unfortunately, the server is a live and very active server and I can not get approval to change to config to add --enable-debug.

Sorry.

Quite interestingly the server runs with 10 httpd processes however when the script is executed this dramatically increases to approx 70 processes then gradually dies back to 31 processes before hanging. The time scale for the whole call to hang is round one minute.
 [2002-02-04 02:07 UTC] yohgaki@php.net
I think you should have test/development box, aren't you?

Anyway, attach complete script that works. i.e. include <?php ?> tag
that can directly feed to CGI or CLI version PHP. Even if it a few line. 

It may be a few line for you, but it will be many line for us with 
hundreds of bug reports.


 [2002-03-05 00:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sat Jul 04 19:01:16 2020 UTC