mirror of
https://github.com/php/php-src.git
synced 2025-01-27 06:03:45 +08:00
Sync with fix for #44394
This commit is contained in:
parent
8ae1faf517
commit
ba05723fd9
@ -431,7 +431,7 @@ static void php_url_scanner_output_handler(char *output, uint output_len, char *
|
||||
size_t len;
|
||||
|
||||
if (BG(url_adapt_state_ex).url_app.len != 0) {
|
||||
*handled_output = url_adapt_ext(output, output_len, &len, (zend_bool) (mode & PHP_OUTPUT_HANDLER_END ? 1 : 0) TSRMLS_CC);
|
||||
*handled_output = url_adapt_ext(output, output_len, &len, (zend_bool) (mode & (PHP_OUTPUT_HANDLER_END | PHP_OUTPUT_HANDLER_CONT) ? 1 : 0) TSRMLS_CC);
|
||||
if (sizeof(uint) < sizeof(size_t)) {
|
||||
if (len > UINT_MAX)
|
||||
len = UINT_MAX;
|
||||
|
Loading…
Reference in New Issue
Block a user