Skip to content
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

Fix args ptr alignment #359

Merged
merged 2 commits into from
Jun 23, 2022
Merged

Fix args ptr alignment #359

merged 2 commits into from
Jun 23, 2022

Conversation

vinc
Copy link
Owner

@vinc vinc commented Jun 23, 2022

The pointer to the command line arguments passed to a process wasn't aligned in some situations, causing a Segment Not Present exception in debug mode. This PR rewrite this part of the code to make it slightly simpler and align the pointer.

@vinc vinc marked this pull request as ready for review June 23, 2022 18:47
@vinc vinc merged commit 851bf65 into trunk Jun 23, 2022
@vinc vinc deleted the fix/align-args-ptr branch June 23, 2022 18:49
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.

1 participant