Re: bug #39863 in trunk/5.4
| From: | Felipe Pena | Date: | Sun, 05 Jun 2011 12:47:26 +0000 |
| Subject: | Re: bug #39863 in trunk/5.4 | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-52930@lists.php.net to get a copy of this message | ||
Hi,
2011/6/5 Pierre Joye <pierre.php@gmail.com>
> 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