[php-src] PHP-8.5: Merge branch 'PHP-8.4' into PHP-8.5
| From: | David Carlier | Date: | Fri, 20 Nov 2026 22:40:51 +0000 |
| Subject: | [php-src] PHP-8.5: Merge branch 'PHP-8.4' into PHP-8.5 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-143992@lists.php.net to get a copy of this message | ||
Author: David Carlier (devnexen)
Date: 2026-11-20T22:39:15Z
Commit: https://github.com/php/php-src/commit/c30231c16af48b07cb82868358be851ca0eb6132
Raw diff: https://github.com/php/php-src/commit/c30231c16af48b07cb82868358be851ca0eb6132.diff
Merge branch 'PHP-8.4' into PHP-8.5
* PHP-8.4:
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 53eb4f5ac3ad..3b818f908e00 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;