Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upbuffer: do not affect memory after target for utf16 write #26432
Conversation
addaleax
added
buffer
lts-watch-v8.x
lts-watch-v10.x
labels
Mar 4, 2019
This comment has been minimized.
This comment has been minimized.
nodejs-github-bot
added
the
C++
label
Mar 4, 2019
addaleax
referenced this pull request
Mar 4, 2019
Closed
buffer.write incorrectly written one more byte in utf16le encoding #26422
richardlau
approved these changes
Mar 4, 2019
This comment has been minimized.
This comment has been minimized.
BridgeAR
approved these changes
Mar 4, 2019
BridgeAR
added
the
author ready
label
Mar 5, 2019
JungMinu
approved these changes
Mar 5, 2019
This comment has been minimized.
This comment has been minimized.
|
Landed in 31147c4 |
BridgeAR
closed this
Mar 6, 2019
added a commit
to BridgeAR/node
that referenced
this pull request
Mar 6, 2019
added a commit
to BridgeAR/node
that referenced
this pull request
Mar 12, 2019
BridgeAR
referenced this pull request
Mar 13, 2019
Merged
2019-03-14, Version 11.12.0 (Current) #26644
added a commit
that referenced
this pull request
Mar 14, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
addaleax commentedMar 4, 2019
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: #26422
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes