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

n-api: guard against cond null dereference #21871

Commits on Jul 19, 2018

  1. n-api: guard against cond null dereference

    A condition variable is only created by the thread-safe function if the
    queue size is set to something larger than zero. This adds null-checks
    around the condition variable and tests for the case where the queue
    size is zero.
    
    Fixes: nodejs/help#1387
    Gabriel Schulhof committed Jul 19, 2018
    Copy the full SHA
    6f71428 View commit details
    Browse the repository at this point in the history