Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:7607 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 24102 invoked by uid 1010); 5 Feb 2004 09:42:03 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 23898 invoked from network); 5 Feb 2004 09:42:02 -0000 Received: from unknown (HELO from.ro) (194.102.255.9) by pb1.pair.com with SMTP; 5 Feb 2004 09:42:02 -0000 Received: from dtp-cable1.kappa.ro (dtp-cable1.kappa.ro [194.102.251.61]) (AUTH: LOGIN pdoru, TLS: TLSv1/SSLv3,168bits,DES-CBC3-SHA) by from.ro with esmtp; Thu, 05 Feb 2004 11:42:01 +0200 To: internals@lists.php.net Content-Type: text/plain Organization: Message-ID: <1075974111.3098.59.camel@dtp.kappa.ro> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-5) Date: 05 Feb 2004 11:41:51 +0200 Content-Transfer-Encoding: 7bit Subject: apache2 sapi uninitialized content-length value From: pdoru@kappa.ro (Doru Petrescu) 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