Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Fix resource leaks in node_crypto.cc #1097

Closed
wants to merge 1 commit into from

Conversation

bnoordhuis
Copy link
Member

Example:

c = require('crypto').createCipher('des-ecb', '12345678');
c.update('foo');
// don't call c.final()

Crypto objects fail to free up resources (potentially leaving sensitive information in memory? openssl man pages warn about it) if the final() method isn't called.

@ry ry closed this in eb4c9ed May 25, 2011
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