Skip to content

Commit 6adec55

Browse files
committed
Merge branch 'PHP-8.0'
* PHP-8.0: Fix #73533: Invalid memory access in php_libxml_xmlCheckUTF8
2 parents 7407589 + 5832be7 commit 6adec55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/libxml/libxml.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1128,7 +1128,7 @@ PHP_FUNCTION(libxml_set_external_entity_loader)
11281128
/* {{{ Common functions shared by extensions */
11291129
int php_libxml_xmlCheckUTF8(const unsigned char *s)
11301130
{
1131-
int i;
1131+
size_t i;
11321132
unsigned char c;
11331133

11341134
for (i = 0; (c = s[i++]);) {

0 commit comments

Comments
 (0)