mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
Fixed bug #48204 (xmlwriter_open_uri() does not emit warnings on invalid
paths)
This commit is contained in:
parent
dff4655e31
commit
60d4c0308a
2
NEWS
2
NEWS
@ -39,6 +39,8 @@ PHP NEWS
|
||||
- Added ability to throw exceptions from SQLite3 instead of warnings. (Scott)
|
||||
- Added startup notices for deprecated ini settings. (Kalle)
|
||||
|
||||
- Fixed bug #48204 (xmlwriter_open_uri() does not emit warnings on invalid
|
||||
paths). (Ilia)
|
||||
- Fixed bug #48185 (warning: value computed is not used in
|
||||
pdo_sqlite_stmt_get_col line 271). (Matteo)
|
||||
- Fixed bug #48087 (call_user_method() invalid free of arguments). (Felipe)
|
||||
|
@ -1755,6 +1755,7 @@ static PHP_FUNCTION(xmlwriter_open_uri)
|
||||
|
||||
valid_file = _xmlwriter_get_valid_file_path(source, resolved_path, MAXPATHLEN TSRMLS_CC);
|
||||
if (!valid_file) {
|
||||
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to resolve file path");
|
||||
RETURN_FALSE;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user