-
Notifications
You must be signed in to change notification settings - Fork 8k
Fix GH-20483: ASAN stack overflow with small fiber.stack_size INI value. #20495
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
|
@ndossche is the macos failure due to another libxml unlucky update ? looks like a nightmare. |
Zend/zend.c
Outdated
| static ZEND_INI_MH(OnUpdateFiberStackSize) /* {{{ */ | ||
| { | ||
| if (new_value) { | ||
| // taken from zend_get_fiber_stack_size() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see... It's unfortunate that we would need to duplicate the code.
In that case, it's better to move this to zend_fibers.c where the existing minimum check is already written. That way we would avoid duplication.
Macos updated to libxml 2.15. When that released we had a lot of deprecation warnings. I reported in https://gitlab.gnome.org/GNOME/libxml2/-/issues/995 that there was no replacement for many of those APIs we rely on. Many APIs were undeprecated after that. However, those undeprecations haven't made it into a release yet. There's also an issue with one of the global settings that I didn't get around to yet. |
|
Why did this target 8.4 though, shouldn't this target 8.3 or am I missing something? |
|
I could not reproduce in 8.3 |
I see. I think in theory it can; so if I were in your position I'd merge it into 8.3 as well. |
|
alright |
No description provided.