mirror of
https://github.com/php/php-src.git
synced 2024-11-23 18:04:36 +08:00
d8e866da04
php_strip_url_passwd modifies url in-place. We cannot assume from php_message_handler_for_zend that data is a temporary, modifiable string. Fixes oss-fuzz #64209 Closes GH-12733
14 lines
371 B
PHP
14 lines
371 B
PHP
--TEST--
|
|
oss-fuzz #64209: Fix in-place modification of filename in php_message_handler_for_zend
|
|
--FILE--
|
|
<?php
|
|
require '://@';
|
|
?>
|
|
--EXPECTF--
|
|
Warning: require(://@): Failed to open stream: No such file or directory in %s on line %d
|
|
|
|
Fatal error: Uncaught Error: Failed opening required '://@' (include_path='%s') in %s:%d
|
|
Stack trace:
|
|
#0 {main}
|
|
thrown in %s on line %d
|