Skip to content

Commit f502493

Browse files
committed
Merge branch 'PHP-8.5'
* PHP-8.5: dom: Fix missing NUL byte check on C14NFile()
2 parents db8d35e + abad39a commit f502493

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/dom/node.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2126,7 +2126,7 @@ static void dom_canonicalization(INTERNAL_FUNCTION_PARAMETERS, int mode) /* {{{
21262126
}
21272127
} else {
21282128
if (zend_parse_parameters(ZEND_NUM_ARGS(),
2129-
"s|bba!a!", &file, &file_len, &exclusive,
2129+
"p|bba!a!", &file, &file_len, &exclusive,
21302130
&with_comments, &xpath_array, &ns_prefixes) == FAILURE) {
21312131
RETURN_THROWS();
21322132
}

0 commit comments

Comments
 (0)