Skip to content

Conversation

nicholasbishop
Copy link
Member

This function could cause undefined behavior when called with a Layout
with an alignment other than 1.

Fixes #406

@GabrielMajeri GabrielMajeri force-pushed the bishop-drop-alloc-buf branch from 29a15a2 to e0ff9dc Compare June 13, 2022 17:20
This function could cause undefined behavior when called with a `Layout`
with an alignment other than 1.

Fixes rust-osdev#406
@nicholasbishop nicholasbishop force-pushed the bishop-drop-alloc-buf branch from e0ff9dc to 56ab5eb Compare June 13, 2022 17:52
@GabrielMajeri GabrielMajeri merged commit 6f5b427 into rust-osdev:main Jun 13, 2022
@nicholasbishop nicholasbishop deleted the bishop-drop-alloc-buf branch July 9, 2022 17:20
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.

Undefined behavior in uefi::exts::allocate_buffer
2 participants