summaryrefslogtreecommitdiff
path: root/ext/xmlwriter
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2009-05-11 12:21:26 +0000
committerIlia Alshanetsky <iliaa@php.net>2009-05-11 12:21:26 +0000
commit60d4c0308a2989507ca522cfe3f622fb39b9c619 (patch)
treeed5e28a402bddb06c906c08df7c8563704d8195f /ext/xmlwriter
parentdff4655e31eb9a7f0c06333028278bc3677a17b1 (diff)
downloadphp-git-60d4c0308a2989507ca522cfe3f622fb39b9c619.tar.gz
Fixed bug #48204 (xmlwriter_open_uri() does not emit warnings on invalid
paths)
Diffstat (limited to 'ext/xmlwriter')
-rw-r--r--ext/xmlwriter/php_xmlwriter.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/xmlwriter/php_xmlwriter.c b/ext/xmlwriter/php_xmlwriter.c
index e99d9aa16c..773ce91440 100644
--- a/ext/xmlwriter/php_xmlwriter.c
+++ b/ext/xmlwriter/php_xmlwriter.c
@@ -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;
}