Skip to content

Conversation

@newpavlov
Copy link
Member

Add new getrandom_sanitize flag which enables unpoisoning of buffer passed to getrandom_uninit.

@newpavlov newpavlov requested a review from josephlr October 16, 2024 06:14
}

#[cfg(getrandom_sanitize)]
#[cfg(sanitize = "memory")]
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#[cfg(sanitize = "memory")] requires Nightly compiler and enabled cfg_sanitize feature, so it's gated behind getrandom_sanitize instead of being used directly.

@newpavlov newpavlov merged commit f622215 into master Oct 16, 2024
57 checks passed
@newpavlov newpavlov deleted the msan_support branch October 16, 2024 06:53
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.

2 participants