Skip to content
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

Use memset_s() instead of memset() to clear passwords #103

Open
ArisBee opened this issue Jul 17, 2023 · 0 comments · May be fixed by #106
Open

Use memset_s() instead of memset() to clear passwords #103

ArisBee opened this issue Jul 17, 2023 · 0 comments · May be fixed by #106

Comments

@ArisBee
Copy link

ArisBee commented Jul 17, 2023

I see here that the memset() function is used to clear passwords.

As passwords are sensitive information I would suggest to replace it with memset_s() so that they can't be recovered from memory.

More information on StakeOverflow: https://stackoverflow.com/questions/56565539/memset-s-what-does-the-standard-mean-with-this-piece-of-text

@dhruvCW dhruvCW linked a pull request Jul 19, 2023 that will close this issue
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 a pull request may close this issue.

1 participant