[php-src] PHP-8.6: Merge branch 'PHP-8.5' into PHP-8.6
| From: | David Carlier | Date: | Fri, 20 Nov 2026 22:40:51 +0000 |
| Subject: | [php-src] PHP-8.6: Merge branch 'PHP-8.5' into PHP-8.6 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-143990@lists.php.net to get a copy of this message | ||
Author: David Carlier (devnexen)
Date: 2026-11-20T22:39:17Z
Commit: https://github.com/php/php-src/commit/bd28fb2ad58f972f6f9d85fad3f7d628a87d6e8e
Raw diff: https://github.com/php/php-src/commit/bd28fb2ad58f972f6f9d85fad3f7d628a87d6e8e.diff
Merge branch 'PHP-8.5' into PHP-8.6
* PHP-8.5:
Zend: Fix stack limit on OpenBSD threads other than the main one
Changed paths:
M Zend/zend_call_stack.c
Diff:
diff --git a/Zend/zend_call_stack.c b/Zend/zend_call_stack.c
index e6e908516529..d49feda4e74b 100644
--- a/Zend/zend_call_stack.c
+++ b/Zend/zend_call_stack.c
@@ -492,7 +492,7 @@ static bool zend_call_stack_get_openbsd_pthread(zend_call_stack *stack)
return false;
}
- stack->base = (char *)ss.ss_sp - ss.ss_size;
+ stack->base = ss.ss_sp;
stack->max_size = ss.ss_size - sysconf(_SC_PAGE_SIZE);
return true;