1
0
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:
Arnaud Le Blanc
2024-07-05 01:52:42 +02:00
committed by GitHub
parent 1a380989ee
commit a62eda3f88

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;