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

src: fix ArrayBuffer size for zero fill flag #7142

Closed
wants to merge 1 commit into from

Commits on Jun 3, 2016

  1. src: fix ArrayBuffer size for zero fill flag

    Use `sizeof()` of the zero fill flag as the byte length of the
    `zeroFill` array buffer rather than `1`.
    
    This fixes running debug builds, which have boundary checks for
    typed array creations from native code enabled.
    
    Fixes: nodejs#7140
    addaleax committed Jun 3, 2016
    Configuration menu
    Copy the full SHA
    4a021bb View commit details
    Browse the repository at this point in the history