Fix stack limit on MSAN (#14829)

This commit is contained in:
Arnaud Le Blanc 2024-07-05 01:52:42 +02:00 committed by GitHub
parent 1a380989ee
commit a62eda3f88
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;