Skip to content

Prefer C23 memset_explicit() over explicit_bzero() #18473

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

Closed
TimWolla opened this issue Apr 30, 2025 · 2 comments
Closed

Prefer C23 memset_explicit() over explicit_bzero() #18473

TimWolla opened this issue Apr 30, 2025 · 2 comments

Comments

@TimWolla
Copy link
Member

Description

It appears we currently don't ever try to use memset_explicit(). We probably should feature test for it and do, since a standard function is likely to be safer / more reliable than a non-standard function.

@nielsdos
Copy link
Member

See #15483

@TimWolla
Copy link
Member Author

Should've checked the search, but also this should've already been done 🙈

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants