diff options
author | Stanislav Malyshev <stas@php.net> | 2015-04-05 16:01:24 -0700 |
---|---|---|
committer | Stanislav Malyshev <stas@php.net> | 2015-04-11 16:53:22 -0700 |
commit | 4435b9142ff9813845d5c97ab29a5d637bedb257 (patch) | |
tree | a6451ac31e1418813a46f73dfffe805421e5a55e /ext/xmlwriter | |
parent | 9faaee66fa493372c7340b1ab05f8fd115131a42 (diff) | |
download | php-git-4435b9142ff9813845d5c97ab29a5d637bedb257.tar.gz |
Fixed bug #69353 (Missing null byte checks for paths in various PHP extensions)
Diffstat (limited to 'ext/xmlwriter')
-rw-r--r-- | ext/xmlwriter/php_xmlwriter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/xmlwriter/php_xmlwriter.c b/ext/xmlwriter/php_xmlwriter.c index 7bc35dabc4..acb87541d8 100644 --- a/ext/xmlwriter/php_xmlwriter.c +++ b/ext/xmlwriter/php_xmlwriter.c @@ -1738,7 +1738,7 @@ static PHP_FUNCTION(xmlwriter_write_dtd_entity) /* }}} */ #endif -/* {{{ proto resource xmlwriter_open_uri(resource xmlwriter, string source) +/* {{{ proto resource xmlwriter_open_uri(string source) Create new xmlwriter using source uri for output */ static PHP_FUNCTION(xmlwriter_open_uri) { @@ -1759,7 +1759,7 @@ static PHP_FUNCTION(xmlwriter_open_uri) void *ioctx; #endif - if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &source, &source_len) == FAILURE) { + if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p", &source, &source_len) == FAILURE) { return; } |