Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

use std::fill with volatile pointers to reset memory #28

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vpa1977
Copy link

@vpa1977 vpa1977 commented Mar 21, 2024

std::memset can be optimized away and can not be used to securely reset memory.
Replace std::memset with std::fill with volatile pointers.

This resolves #27

Testing:
PASS: securearray

std::memset can be optimized away and can not be used to
securely reset memory.
Replace std::memset with std::fill with volatile pointers.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Test failure in SecureArray
1 participant