File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -92,6 +92,10 @@ PHP NEWS
92
92
4GB. (Girgias)
93
93
. Add missing error check on tidyLoadConfig. (nielsdos)
94
94
95
+ - Zlib:
96
+ . Fixed output_handler directive value's length which counted the string
97
+ terminator. (nieldos)
98
+
95
99
14 Feb 2023, PHP 8.2.3
96
100
97
101
- Core:
Original file line number Diff line number Diff line change @@ -1279,7 +1279,7 @@ static PHP_INI_MH(OnUpdate_zlib_output_compression)
1279
1279
} else {
1280
1280
int_value = (int ) zend_ini_parse_quantity_warn (new_value , entry -> name );
1281
1281
}
1282
- ini_value = zend_ini_string ("output_handler" , sizeof ("output_handler" ), 0 );
1282
+ ini_value = zend_ini_string ("output_handler" , sizeof ("output_handler" ) - 1 , 0 );
1283
1283
1284
1284
if (ini_value && * ini_value && int_value ) {
1285
1285
php_error_docref ("ref.outcontrol" , E_CORE_ERROR , "Cannot use both zlib.output_compression and output_handler together!!" );
You can’t perform that action at this time.
0 commit comments