Support reliable zeroing of sensitive buffers#758
Support reliable zeroing of sensitive buffers#758devnexen wants to merge 8 commits intosquid-cache:masterfrom
Conversation
|
Can one of the admins verify this patch? |
dff6945 to
fa3086b
Compare
rousskov
left a comment
There was a problem hiding this comment.
Please edit the PR description to explain what this PR is trying to accomplish. I am very worried that I am reviewing this PR incorrectly due to the lack of explicit PR goals/intent statements. (That description will automatically become the future official commit message when this PR is merged as documented in MergeProcedure)
Some of my change requests may become inapplicable or may need adjustment once the PR goals are clarified. You may ignore my inlined change requests until we settle the PR intent issue.
d08eea4 to
b2c6a61
Compare
d966e29 to
4c13b71
Compare
|
ah my bad I forgot this one. |
|
@rousskov, please re-review. LGTM, so when you are happy it can go in. |
|
Is there any remaining concern as there is waiting for author label ? :) |
rousskov
left a comment
There was a problem hiding this comment.
I was not sure this PR was waiting for me, but I am trying to push it forward.
|
I had tried but failed with linkage, so many dependencies. |
ee51393 to
e1cce38
Compare
I also made the documentation a bit more concise.
Thank you for addressing all my concerns.
|
I have added the new function documentation in commit e4db81f and adjusted PR title/description (i.e. the future commit message) to match the current PR code and acknowledge that we are far from done here. Please adjust further as needed. I also tested the new code and can confirm that, unlike a bare call to std::memset(), the call to the new function is not optimized away in a basic use case. @yadij, the ball is on your side AFAICT. |
|
OK to test |
|
wow exactly one year later :-) |
TODO: Use the new API for more sensible buffers, possibly adding a wrapper class for sensitive content to automate cleanup.
TODO: Use the new API for more sensible buffers, possibly adding a
wrapper class for sensitive content to automate cleanup.