Skip to content

Fix regression on platforms without ZEND_CHECK_STACK_LIMIT set (8.4) #16285

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

NattyNarwhal
Copy link
Member

There was a guard on one instance of this, but not the other. Unsure if this is the best place for this; the functions are #ifdef gated in zend_execute.c, but not the associated header; perhaps it should be #else with a nop version of the function in that case? I added a guard at this call site to be consistent with other places.

8.4 targeting version of GH-16284, obsoletes that.

There was a guard on one instance of this, but not the other. Unsure if
this is the best place for this; the functions are `#ifdef` gated in
`zend_execute.c`, but not the associated header; perhaps it should be
`#else` with a nop version of the function in that case? I added a
guard at this call site to be consistent with other places.
@NattyNarwhal NattyNarwhal requested a review from bukka as a code owner October 7, 2024 17:02
@NattyNarwhal NattyNarwhal changed the title Fix regression on platforms without ZEND_CHECK_STACK_LIMIT set Fix regression on platforms without ZEND_CHECK_STACK_LIMIT set (8.4) Oct 7, 2024
NattyNarwhal and others added 2 commits October 7, 2024 14:26
Co-authored-by: Arnaud Le Blanc <arnaud.lb@gmail.com>
@NattyNarwhal
Copy link
Member Author

Would like another review before I tag RC2 tomorrow; if it's good, I'll merge it.

Copy link
Member

@arnaud-lb arnaud-lb left a comment

Choose a reason for hiding this comment

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

LGTM!

@NattyNarwhal NattyNarwhal merged commit 4643386 into php:PHP-8.4 Oct 8, 2024
10 checks passed
NattyNarwhal added a commit that referenced this pull request Oct 8, 2024
* PHP-8.4:
  Fix regression on platforms without `ZEND_CHECK_STACK_LIMIT` set (8.4) (#16285)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants