Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Zend/zend_call_stack.c
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,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;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unlikely indeed but only one machine/arch exception. I guess we can go with it.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like configure only defines ZEND_CHECK_STACK_LIMIT when the stack grows down (Zend.m4), so this code isn't built on hppa

stack->max_size = ss.ss_size - sysconf(_SC_PAGE_SIZE);

return true;
Expand Down
Loading