Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:28734 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 93153 invoked by uid 1010); 11 Apr 2007 17:28:52 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 93138 invoked from network); 11 Apr 2007 17:28:52 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Apr 2007 17:28:52 -0000 Authentication-Results: pb1.pair.com header.from=ass3mbler@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=ass3mbler@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 64.233.162.235 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: ass3mbler@gmail.com X-Host-Fingerprint: 64.233.162.235 nz-out-0506.google.com Linux 2.4/2.6 Received: from [64.233.162.235] ([64.233.162.235:46937] helo=nz-out-0506.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 24/40-60989-2DA1D164 for ; Wed, 11 Apr 2007 13:28:51 -0400 Received: by nz-out-0506.google.com with SMTP id k1so191250nzf for ; Wed, 11 Apr 2007 10:28:47 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=YqVA/8OejwdOHKhCQD3yoX02nHvB1p75xMPZ5UBa1DP3FUtT5Ovz8FCJt+gmm/ovPvGOo9QUoeE5WiJYhFSdPSSsrjPtNamRioJ8k1Fy+8/b5oRLfwm6MmOaxUozFZP0fraMG9/zoGfFVKchex/nlgkstv42Wzh8gD74RPYjio4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=EHWahOz1m8zyLS0yICgBMpn0kE6EK7hnSv/zEu7t4v/nxGrj1eVVWHa2Y9O4wrZys0CEZJ4PYYVlDUImbsh1IX8mz1ANqfs9KLsOFlVDV/5lzp4CrCp2saO/MekuQNlHYgnyln2nvUb1udKChMkzVFdNihmzwA9jFV/sLu9QccI= Received: by 10.114.152.17 with SMTP id z17mr360540wad.1176312527601; Wed, 11 Apr 2007 10:28:47 -0700 (PDT) Received: by 10.115.108.2 with HTTP; Wed, 11 Apr 2007 10:28:47 -0700 (PDT) Message-ID: Date: Wed, 11 Apr 2007 19:28:47 +0200 To: internals@lists.php.net MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Patch for bug #40938 From: ass3mbler@gmail.com (Andrea) Hello, the BUG #38236(http://bugs.php.net/bug.php?id=38236),correctly addressed and fixed in the PHP 5.x codebase, is still present in the PHP 4.4.x codebase. I've tested and reproduced the same problem with many installations ranging from PHP 4.4.0 to PHP 4.4.6 included. I've used the relevant patches from iliaa for the files for the same bug in the PHP 5 codebase: /main/php_variables.c (http://cvs.php.net/viewvc.cgi/php-src/main/php_variables.c?r1=1.127&r2=1.128 /main/rfc1867.c (http://cvs.php.net/viewvc.cgi/php-src/main/rfc1867.c?r1=1.186&r2=1.187 ) adapting them for the 4.4.x codebase, and they seems to work correctly. The patches are available here: patch for php_variables.c => http://www.box.net/shared/akyjqyq55s patch for rfc1867.c => http://www.box.net/shared/2ime21vb4j Regards, Andrea