We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b14dd85 + bb2177e commit 1c62c60Copy full SHA for 1c62c60
ext/zlib/zlib.c
@@ -1277,7 +1277,7 @@ static PHP_INI_MH(OnUpdate_zlib_output_compression)
1277
} else {
1278
int_value = (int) zend_ini_parse_quantity_warn(new_value, entry->name);
1279
}
1280
- ini_value = zend_ini_string("output_handler", sizeof("output_handler"), 0);
+ ini_value = zend_ini_string("output_handler", sizeof("output_handler") - 1, 0);
1281
1282
if (ini_value && *ini_value && int_value) {
1283
php_error_docref("ref.outcontrol", E_CORE_ERROR, "Cannot use both zlib.output_compression and output_handler together!!");
0 commit comments