Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:52930 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 50609 invoked from network); 5 Jun 2011 12:47:51 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Jun 2011 12:47:51 -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.210.42 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.210.42 mail-pz0-f42.google.com Received: from [209.85.210.42] ([209.85.210.42:39488] helo=mail-pz0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B6/88-26000-5FA7BED4 for ; Sun, 05 Jun 2011 08:47:50 -0400 Received: by pzk37 with SMTP id 37so1553310pzk.29 for ; Sun, 05 Jun 2011 05:47:46 -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=GGXmULlEW6asO+kPzyvqmXzeuP8tpWOpFtUyEvjOeNA=; b=HBvweqdDVUhZrNBs/Q6kANLwKN9kX2M8o50qKfUwaChO2QfmE/bNWLk8YbDCWMIfTy W8TuKAXxwkJSnsJwQUm+1jlKAWOQT25LBXUb/+bsp32p4Xzr2eLDI2Isi0T8WdBH1BSI QXT663KCig6fg1tTOc7e8HfJXYgwKIJXaRVBQ= 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=rPV41iKsiQrJrpVc/RfthFhub0DRD4Pt0fxUtMH507NZnMgayk2lhLchhMA7L4/Puz xXMI+5HQ2J+VPdLrEaqdpWgH31M8kSV7jl89lRjxjTv7RL74fjT8Y/Tw3REaZpDXEyj8 TfyD0ascvupguVicxTVXzYZZmdzfyoDgNBNgc= Received: by 10.143.26.26 with SMTP id d26mr603149wfj.176.1307278066358; Sun, 05 Jun 2011 05:47:46 -0700 (PDT) MIME-Version: 1.0 Received: by 10.142.246.21 with HTTP; Sun, 5 Jun 2011 05:47:26 -0700 (PDT) In-Reply-To: References: <4DEB3D65.107@sugarcrm.com> Date: Sun, 5 Jun 2011 09:47:26 -0300 Message-ID: To: Pierre Joye Cc: Stas Malyshev , PHP Internals Content-Type: multipart/alternative; boundary=001636e0ae0dc49aad04a4f66478 Subject: Re: [PHP-DEV] bug #39863 in trunk/5.4 From: felipensp@gmail.com (Felipe Pena) --001636e0ae0dc49aad04a4f66478 Content-Type: text/plain; charset=UTF-8 Hi, 2011/6/5 Pierre Joye > hi, > > Not apparently, it was not fixed in trunk. > > There was a discussion about using zend_arg for paths and additional > function or macros to be used instead of duplicating the tests > everywhere. But no consensus or agreement have been reached. > > 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 Thanks. -- Regards, Felipe Pena --001636e0ae0dc49aad04a4f66478--