-
-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make the MADT
!Unpin
to prevent unsoundness
This prevents an `Madt` being moved away from its following, but not represented, dynamic entries. This would previously have caused unsoundness as arbitrary memory would be read from after wherever the `Madt` had ended up. By prevening the user from getting anything other than a `Pin<&Madt>`, this is prevented.
- Loading branch information
1 parent
37d4bb2
commit 874f84f
Showing
1 changed file
with
22 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters