Skip to content

Commit 1c62c60

Browse files
committed
Merge branch 'PHP-8.2'
2 parents b14dd85 + bb2177e commit 1c62c60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/zlib/zlib.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1277,7 +1277,7 @@ static PHP_INI_MH(OnUpdate_zlib_output_compression)
12771277
} else {
12781278
int_value = (int) zend_ini_parse_quantity_warn(new_value, entry->name);
12791279
}
1280-
ini_value = zend_ini_string("output_handler", sizeof("output_handler"), 0);
1280+
ini_value = zend_ini_string("output_handler", sizeof("output_handler") - 1, 0);
12811281

12821282
if (ini_value && *ini_value && int_value) {
12831283
php_error_docref("ref.outcontrol", E_CORE_ERROR, "Cannot use both zlib.output_compression and output_handler together!!");

0 commit comments

Comments
 (0)