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: ensure all notebook allocations are 8-byte aligned #1930

Merged
merged 1 commit into from
Jun 30, 2023

Conversation

vthib
Copy link
Contributor

@vthib vthib commented Jun 29, 2023

Add a custom align directive on the data field in YR_NOTEBOOK_PAGE. This ensures the field is 8-byte aligned, and thus all allocations are 8-byte aligned.

Technically YR_ALIGN only works if the provided alignment is not bigger than the max alignment, so i'm not sure whether this fixes the bug everywhere.

@plusvic plusvic merged commit efa8765 into VirusTotal:master Jun 30, 2023
9 checks passed
@vthib vthib deleted the 1928-notebook-allocations branch June 30, 2023 10:47
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.

None yet

2 participants