Skip to content

Conversation

@nielsdos
Copy link
Contributor

The previous fix #218 had a typo in which the wrong offset was used which meant that the alignment still wasn't correct. Fix this properly now.

Sorry for this mistake, my testing didn't catch this because I set it up wrongly. This PR properly fixes the alignment and fixes the bug the original PR was meant to fix.

The previous fix had a typo in which the wrong offset was used which
meant that the alignment still wasn't correct. Fix this properly now.
@olk olk merged commit 072846b into boostorg:develop Jan 28, 2023
nielsdos added a commit to nielsdos/php-src that referenced this pull request Jan 28, 2023
Fixes phpGH-10398

The stack was misaligned upon entering the trampoline function [1], this
causes a CPU trap when the SSE instruction is executed to copy data from
the stack. This was fixed upstream [2]. This commit syncs all upstream
changes from the boost/context assembly files to our copy.

[1] php#10407 (comment)
[2] boostorg/context#219
devnexen pushed a commit to php/php-src that referenced this pull request Feb 5, 2023
Fixes GH-10398

The stack was misaligned upon entering the trampoline function [1], this
causes a CPU trap when the SSE instruction is executed to copy data from
the stack. This was fixed upstream [2]. This commit syncs all upstream
changes from the boost/context assembly files to our copy.

[1] #10407 (comment)
[2] boostorg/context#219

Closes GH-10407.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants