Skip to content

Commit d8b76a8

Browse files
committed
- add a note about the actual problen so we don't forget it
1 parent 7811bcb commit d8b76a8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ext/xmlwriter/php_xmlwriter.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1781,6 +1781,9 @@ static PHP_FUNCTION(xmlwriter_open_uri)
17811781
RETURN_FALSE;
17821782
}
17831783

1784+
/* TODO: Fix either the PHP stream or libxml APIs: it can then detect when a given
1785+
path is valid and not report out of memory error. Once it is done, remove the
1786+
directory check in _xmlwriter_get_valid_file_path */
17841787
#ifndef ZEND_ENGINE_2
17851788
ioctx = php_xmlwriter_streams_IO_open_write_wrapper(valid_file TSRMLS_CC);
17861789
if (ioctx == NULL) {

0 commit comments

Comments
 (0)