Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:52955 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 48517 invoked from network); 5 Jun 2011 19:14:09 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Jun 2011 19:14:09 -0000 Authentication-Results: pb1.pair.com header.from=felipensp@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=felipensp@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.173 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: felipensp@gmail.com X-Host-Fingerprint: 209.85.212.173 mail-px0-f173.google.com Received: from [209.85.212.173] ([209.85.212.173:44322] helo=mail-px0-f173.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 06/5A-26000-085DBED4 for ; Sun, 05 Jun 2011 15:14:09 -0400 Received: by pxi16 with SMTP id 16so2066260pxi.18 for ; Sun, 05 Jun 2011 12:14:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=HWcQLkc0vssunsnr7Z1ygmv0jm5vMdWpmZ5FXe49B6Y=; b=Q0Ne/MigyNBPX5ygSsvT68/JEdvQ93/sYP9QapBXUK8P32DdobzOWcUg8sPY9/5txD 5FtuTjwoxSUa5/UCiuaTtaLNGhCVECE1YAf1MnL02WJ+FyuxNj6I3+1H3084kxS9znYu W1Jqw2exe76fZB5ibcGIPGdka1B/wRo9ngkgs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=bZvGVXJ59/PAt1AKpwRn1Ftd723zjNSVUcQzGG1zGh63+FFYa1osKNyCTfTKbPoaHe SR8UmdOZBgoWYOctEdZUKfwoyt8RalWzbfLetnVRqktWtKCpQmegx9RaYbbeJt2/d95b 2lI9Lj71gcbkr5Xj0JE9VdzH6AM0AgHjvtfYY= Received: by 10.142.204.19 with SMTP id b19mr641245wfg.62.1307301245348; Sun, 05 Jun 2011 12:14:05 -0700 (PDT) MIME-Version: 1.0 Received: by 10.142.246.21 with HTTP; Sun, 5 Jun 2011 12:13:45 -0700 (PDT) In-Reply-To: <4DEBD46E.3070708@sugarcrm.com> References: <4DEB3D65.107@sugarcrm.com> <4DEBD46E.3070708@sugarcrm.com> Date: Sun, 5 Jun 2011 16:13:45 -0300 Message-ID: To: Stas Malyshev Cc: Pierre Joye , PHP Internals Content-Type: multipart/alternative; boundary=000e0cd32f3057ec6304a4fbca87 Subject: Re: [PHP-DEV] bug #39863 in trunk/5.4 From: felipensp@gmail.com (Felipe Pena) --000e0cd32f3057ec6304a4fbca87 Content-Type: text/plain; charset=UTF-8 2011/6/5 Stas Malyshev > Hi! > > > Should http://felipe.ath.cx/diff/parse_arg_null_path.diff be enough >> (beyond changing others function parse args, fixing the tests, >> include+require part)? >> >> $ sapi/cli/php -r 'fopen("a\0b", "r");' >> >> Warning: fopen() expects parameter 1 to be valid path, string given in >> Command line code on line 1 >> > > This should be applied not only to fopen but to any function that does > anything with filenames (and include/require/etc. also, I guess). > > Of course, I was just checking if it's what you guys are thinking first. -- Regards, Felipe Pena --000e0cd32f3057ec6304a4fbca87--