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).

--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to