From 1c01b1ab48ced6911993d958d06fefbbf39bca19 Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Mon, 9 Jul 2018 00:54:36 +0200 Subject: Fix #76594: Bus Error due to unaligned access in zend_ini.c OnUpdateLong Since commit ea83b69[1] changed the type of mbstring.strict_detection from `long` to `zend_bool`, we have to update the `on_modify` callback as well. [1] http://git.php.net/?p=php-src.git;a=commit;h=ea83b69883f3f77fd27e4663fa854c88f141ab41 --- ext/mbstring/mbstring.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/mbstring/mbstring.c') diff --git a/ext/mbstring/mbstring.c b/ext/mbstring/mbstring.c index 01c070b584..c3843d7963 100644 --- a/ext/mbstring/mbstring.c +++ b/ext/mbstring/mbstring.c @@ -1502,7 +1502,7 @@ PHP_INI_BEGIN() STD_PHP_INI_BOOLEAN("mbstring.strict_detection", "0", PHP_INI_ALL, - OnUpdateLong, + OnUpdateBool, strict_detection, zend_mbstring_globals, mbstring_globals) PHP_INI_END() /* }}} */ -- cgit v1.2.1