ID: 25713 Updated by: [EMAIL PROTECTED] Reported By: kevin at netflex dot nl -Status: Open +Status: Bogus Bug Type: Reproducible crash Operating System: Windows/Netware and maybe more PHP Version: 4.3.3 New Comment:
You should first try hard to crash it with that tiny script. If it really was to go wrong, then reopen this bug to let us know what did actually happen on your server :) Previous Comments: ------------------------------------------------------------------------ [2003-10-01 11:49:00] kevin at netflex dot nl i know, (mistake from me ;-). But now the problem is that i can crash the server if i want by making an endless loop (with calls). ------------------------------------------------------------------------ [2003-10-01 11:36:57] [EMAIL PROTECTED] function crash(&$test) { if ($test < 10) crash($test); $test++; } There's no chance $test is incremented. So no matter how the variable is passed to the function, it will definitely go into an infinite loop and end up eating up all the stack area which really causes segmentation fault. ------------------------------------------------------------------------ [2003-10-01 11:14:45] kevin at netflex dot nl 1. we did 2. buffer overflow?? is this normal for you?? 3. i don't agree, i could crash any php hosting if i want. ;-) ------------------------------------------------------------------------ [2003-10-01 10:33:30] [EMAIL PROTECTED] 1. You didn't search the bug database first 2. This is expected. 3. We won't "fix" it. ------------------------------------------------------------------------ [2003-10-01 10:08:45] kevin at netflex dot nl The problem isn't with the call by ref. but with the following situation: if you have an function that calls himself endless then PHP crashes. See the firt post for more information. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/25713 -- Edit this bug report at http://bugs.php.net/?id=25713&edit=1