Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:50241 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 21968 invoked from network); 16 Nov 2010 09:29:38 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Nov 2010 09:29:38 -0000 Authentication-Results: pb1.pair.com smtp.mail=johannes@schlueters.de; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=johannes@schlueters.de; sender-id=unknown Received-SPF: error (pb1.pair.com: domain schlueters.de from 217.114.211.66 cause and error) X-PHP-List-Original-Sender: johannes@schlueters.de X-Host-Fingerprint: 217.114.211.66 unknown Solaris 10 (beta) Received: from [217.114.211.66] ([217.114.211.66:42208] helo=config.schlueters.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 50/92-25603-5FE42EC4 for ; Tue, 16 Nov 2010 04:29:26 -0500 Received: from [192.168.1.56] (84-73-4-19.dclient.hispeed.ch [84.73.4.19]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by config.schlueters.de (Postfix) with ESMTPSA id 58A3A44892; Tue, 16 Nov 2010 10:29:22 +0100 (CET) To: Rasmus Lerdorf Cc: Andi Gutmans , internals In-Reply-To: <4CE10E8E.3070901@lerdorf.com> References: <4CE03E41.9030805@lerdorf.com> <8757232E56758B42B2EE4F9D2CA019C9086B69@US-EX2.zend.net> <4CE10E8E.3070901@lerdorf.com> Content-Type: text/plain; charset="UTF-8" Date: Tue, 16 Nov 2010 10:29:14 +0100 Message-ID: <1289899754.3447.3.camel@guybrush> Mime-Version: 1.0 X-Mailer: Evolution 2.30.2 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Adding path_len to all stream functions in trunk From: johannes@schlueters.de (Johannes =?ISO-8859-1?Q?Schl=FCter?=) On Mon, 2010-11-15 at 02:42 -0800, Rasmus Lerdorf wrote: > Ok, I went through all the 5.3 code. This should fix the null poisoning > problems in 5.3 without breaking binary compatibility: > > http://progphp.com/nullpatch.txt I didn't check it as I'm on vacation traveling right now, but: Does the data: wrapper allow \0 in the data? Something like fopen("data:text/plain,foo\0bar" "r"); johannes