apache2 sapi uninitialized content-length value

php.internals

Doru Petrescu

22 years ago
Hi, some time ago I sent a patch to fix this uninitialized variable in the apache2 sapi code. all other SAPIs DO initialize it, so I figured out it is something that should be corrected. I see neither php-5.0.0B3 nor php-4.3.5RC2 implement this. Can someone comment on this ? Was my 2 line patch incorrectly wrote ? Maybe it did not apply ? Maybe it is wrong to initialize that variable ? but then why other SAPIs initialize it ? are them wrong ? is there a hidden security problem that I did not see ? My original email was sent on 20 Nov 2003, original subj was "[PHP-DEV] [PATCH] sapi apache2 uninitialized content-length value"
-- Best regards, Doru Theodor Petrescu Senior Software Engineer Astral Telecom Bucuresti

Jani Taskinen

22 years ago
I don't remember seeing any patch..nor do I see one now.. And what exactly is the problem you see that the patch fixes? --Jani On Thu, 5 Feb 2004, Doru Petrescu wrote:

Doru Petrescu

22 years ago
On Thu, 2004-02-05 at 14:27, Jani Taskinen wrote:
> I don't remember seeing any patch..nor do I see one now.. > And what exactly is the problem you see that the patch fixes?
Here it is again ... Is there a problem with the archive from 20 Nov 2003 ?!?!?