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: fix transcode for single-byte enc to ucs2 #9838

Closed

Commits on Nov 29, 2016

  1. buffer: fix transcode for single-byte enc to ucs2

    Fix `buffer.transcode()` for transcoding from single-byte character
    encodings to UCS2.
    
    These would previously perform out-of-bounds reads due to an
    incorrect `sizeof()` expression.
    
    Fixes: nodejs#9834
    addaleax committed Nov 29, 2016
    Copy the full SHA
    6899fef View commit details
    Browse the repository at this point in the history