mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Fix stack limit on MSAN (#14829)
This commit is contained in:
@@ -214,7 +214,7 @@ static ZEND_INI_MH(OnUpdateReservedStackSize) /* {{{ */
|
||||
zend_ulong min = 32*1024;
|
||||
#endif
|
||||
|
||||
#ifdef __SANITIZE_ADDRESS__
|
||||
#if defined(__SANITIZE_ADDRESS__) || __has_feature(memory_sanitizer)
|
||||
/* AddressSanitizer and MemorySanitizer use more stack due to
|
||||
* instrumentation */
|
||||
min *= 10;
|
||||
|
||||
Reference in New Issue
Block a user