Skip to content

UB-check for alignment of ptr to Box::from_raw{,_in}#137325

Closed
hkBst wants to merge 1 commit intorust-lang:masterfrom
hkBst:patch-1
Closed

UB-check for alignment of ptr to Box::from_raw{,_in}#137325
hkBst wants to merge 1 commit intorust-lang:masterfrom
hkBst:patch-1

Conversation

@hkBst
Copy link
Member

@hkBst hkBst commented Feb 20, 2025

This adds a missing UB-check for proper alignment of pointers to Box::from_raw{,_in}. See #69283 (comment) for some background.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-libs Relevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants