diff options
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | ext/libxml/libxml.c | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -9,6 +9,9 @@ PHP NEWS . Fixed bug #80024 (Duplication of info about inherited socket after pool removing). (Jakub Zelenka) +- LibXML: + . Fixed bug #73533 (Invalid memory access in php_libxml_xmlCheckUTF8). (cmb) + - PDO_ODBC: . Fixed bug #80783 (PDO ODBC truncates BLOB records at every 256th byte). (cmb) diff --git a/ext/libxml/libxml.c b/ext/libxml/libxml.c index e21d6fdbbe..fc194770e1 100644 --- a/ext/libxml/libxml.c +++ b/ext/libxml/libxml.c @@ -1182,7 +1182,7 @@ static PHP_FUNCTION(libxml_set_external_entity_loader) /* {{{ Common functions shared by extensions */ int php_libxml_xmlCheckUTF8(const unsigned char *s) { - int i; + size_t i; unsigned char c; for (i = 0; (c = s[i++]);) { |