Re: bug #39863 in trunk/5.4
| From: | Stas Malyshev | Date: | Sun, 05 Jun 2011 19:09:34 +0000 |
| Subject: | Re: bug #39863 in trunk/5.4 | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-52954@lists.php.net to get a copy of this message | ||
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 1This should be applied not only to fopen but to any function that does anything with filenames (and include/require/etc. also, I guess). -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227