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

fixes for memory and error status leaks in parse cert #48

Merged
merged 1 commit into from
Mar 14, 2017

Conversation

astitt-ripple
Copy link
Contributor

While testing this module, I found some issues with memory leaking from the parseCert method (one was already fixed in 3.1, but I found others).

I also found that ssl error statuses are not always cleared. Under the right circumstances the uncleared errors are picked up by other parts of node.js that also use openssl. This can cause some unintended (and sometimes spectacular) side-effects.

@Southern

@Southern
Copy link
Owner

Thanks for reopening this, and apologies for it taking so long to get back to you.

This looks perfectly fine to me. Going to merge it in and will release it in 0.3.2 some time this week, most likely on Friday.

@Southern Southern merged commit c3d7799 into Southern:master Mar 14, 2017
@astitt-ripple
Copy link
Contributor Author

Thank you @Southern.

There is also #47 from my prior PR, which adds some new functionality.

@Southern
Copy link
Owner

Southern commented Mar 15, 2017

Yup. Gonna check that one out too and hopefully get it in 0.3.2 on Friday as well... though I'm debating on bumping it to 0.4.0 with that change since it does change the API. :)

@Southern
Copy link
Owner

Just an update, didn't forget about this. Had some stuff come up that prevented me from getting to it on Friday. 0.3.2 should now be on NPM.

# 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.

2 participants