diff options
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | ext/libxml/libxml.c | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -13,6 +13,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) + - Opcache: . Fixed bug #80839 (PHP problem with JIT). (Dmitry) . Fixed bug #80861 (erronous array key overflow in 2D array with JIT). diff --git a/ext/libxml/libxml.c b/ext/libxml/libxml.c index fab8c3cf07..cc4850ffbe 100644 --- a/ext/libxml/libxml.c +++ b/ext/libxml/libxml.c @@ -1158,7 +1158,7 @@ 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++]);) { |