Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

crypto: make malloc failure check cross-platform #8352

Closed
wants to merge 1 commit into from

Commits on Aug 31, 2016

  1. crypto: make malloc failure check cross-platform

    `malloc(0)` may return NULL on some platforms. Do not report
    out-of-memory error unless `malloc` was passed a number greater than
    `0`.
    
    Fixes: nodejs#7564
    PR-URL: nodejs#8352
    Trott committed Aug 31, 2016
    Configuration menu
    Copy the full SHA
    c641ae0 View commit details
    Browse the repository at this point in the history