Re: php-cgi command line switch memory check
| From: | Rasmus Lerdorf | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: php-cgi command line switch memory check | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-7603@lists.php.net to get a copy of this message | ||
On Thu, 5 Feb 2004, Jon Parise wrote:
> Some additional archaeology says that this logic goes back to PHP 3
> (main.c revision 1.354, from 5 years, 11 months ago):
>
>
> http://cvs.php.net/diff.php/php3/main.c?login=2&r1=1.354&r2=1.355&ty=h
>
> I was kind of hoping it was something you had committed, but no such
> luck. =)
Well, it wouldn't have surprised me. I hit this all the time. I look at
code and wonder who the moron was who wrote it and just before sending out
a nastygram I doublecheck and find that I was that moron.
In this case the check was added by Jaakko Hyvatti in February 98.
Looking at the state of the code from back then I still don't see the
reason why those switches were disallowed when running in a web context.
We have to watch how we handle the query_string of course, but that
doesn't seem like a difficult problem to address.
-Rasmus