From 3c6f5523716f40476b3892c2ef8cb511dc7d54fe Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Sun, 11 Mar 2018 22:54:10 +0100 Subject: [PATCH] Disable function call under address sanitizer AddressSanitizer seems not to function properly with suppressions. The default value is still sufficient for test, thus unblock testing by disabling the function call under AddressSanitizer. --- ext/opcache/ZendAccelerator.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ext/opcache/ZendAccelerator.c b/ext/opcache/ZendAccelerator.c index 2061a34328..ac781afd89 100644 --- a/ext/opcache/ZendAccelerator.c +++ b/ext/opcache/ZendAccelerator.c @@ -2705,7 +2705,9 @@ static int accel_startup(zend_extension *extension) #endif #ifdef ZEND_WIN32 +# if !defined(__has_feature) || !__has_feature(address_sanitizer) _setmaxstdio(2048); /* The default configuration is limited to 512 stdio files */ +# endif #endif if (start_accel_module() == FAILURE) { -- 2.40.0