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

buffer: do not affect memory after target for utf16 write #26432

Closed
wants to merge 1 commit into from

Commits on Mar 4, 2019

  1. buffer: do not affect memory after target for utf16 write

    Do not write one character too much before shifting the whole result
    to the left when using UTF16-LE, possibly overwriting already-used
    memory while doing so.
    
    Fixes: nodejs#26422
    addaleax committed Mar 4, 2019
    Configuration menu
    Copy the full SHA
    8278fbe View commit details
    Browse the repository at this point in the history