Skip to content

Conversation

jeskew
Copy link
Contributor

@jeskew jeskew commented Jan 16, 2018

This is something I noticed when working on aws/aws-sdk-js#1880

When copying sensitive data into a buffer, it should be overwritten with zeros rather than waiting for the memory to be reclaimed by the GC. This prevents private data from showing up in a heap dump if the program crashes before GC is invoked.

@jeskew jeskew merged commit 8fdbfb9 into aws:master Jan 22, 2018
@jeskew jeskew deleted the fix/zero-out-keys branch January 22, 2018 18:52
@lock
Copy link

lock bot commented Sep 26, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked as resolved and limited conversation to collaborators Sep 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants