FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

v4.x: src: make sure Utf8Value always zero-terminates by addaleax · Pull Request #7101 · nodejs/node · GitHub

/ node Public

v4.x: src: make sure Utf8Value always zero-terminates - #7101

Closed
addaleax wants to merge 1 commit into
nodejs:v4.x-stagingfrom
addaleax:utf8value-empty-bugfix
Closed

v4.x: src: make sure Utf8Value always zero-terminates#7101
addaleax wants to merge 1 commit into
nodejs:v4.x-stagingfrom
addaleax:utf8value-empty-bugfix

Conversation

addaleax commented Jun 2, 2016

Copy link
Copy Markdown
Member
Checklist
  • tests and code linting passes
  • the commit message follows commit guidelines
Affected core subsystem(s)

src

Description of change

Make sure dereferencing a Utf8Value instance always returns a zero-terminated string, even if the conversion to string failed.

The corresponding bugfix in the master branch happened in 44a4032 (#6357).

Make sure dereferencing a `Utf8Value` instance always returns
a zero-terminated string, even if the conversion to string failed.

The corresponding bugfix in the master branch happened in 44a4032
(nodejs#6357).
addaleax added c++ Issues and PRs that require attention from people who are familiar with C++. v4.x labels Jun 2, 2016
MylesBorins self-assigned this Jun 2, 2016

addaleax commented Jun 2, 2016

Copy link
Copy Markdown
Member Author

Copy link
Copy Markdown
Member

LGTM

MylesBorins commented Jun 2, 2016
edited
Loading

Copy link
Copy Markdown
Contributor

odd error in CI for windows

running that job one more time: https://ci.nodejs.org/job/node-test-commit-windows-fanned/2836/

green LGTM

Copy link
Copy Markdown
Contributor

landed in f506185cb6

MylesBorins closed this Jun 2, 2016
addaleax deleted the utf8value-empty-bugfix branch June 2, 2016 23:49
MylesBorins pushed a commit that referenced this pull request Jun 2, 2016
Make sure dereferencing a `Utf8Value` instance always returns
a zero-terminated string, even if the conversion to string failed.

The corresponding bugfix in the master branch happened in 44a4032
(#6357).

Ref: #6357
PR-URL: #7101
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
MylesBorins mentioned this pull request Jun 24, 2016
MylesBorins pushed a commit that referenced this pull request Jun 24, 2016
Make sure dereferencing a `Utf8Value` instance always returns
a zero-terminated string, even if the conversion to string failed.

The corresponding bugfix in the master branch happened in 44a4032
(#6357).

Ref: #6357
PR-URL: #7101
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
MylesBorins pushed a commit that referenced this pull request Jun 24, 2016
Make sure dereferencing a `Utf8Value` instance always returns
a zero-terminated string, even if the conversion to string failed.

The corresponding bugfix in the master branch happened in 44a4032
(#6357).

Ref: #6357
PR-URL: #7101
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
MylesBorins removed their assignment Dec 27, 2016
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c++ Issues and PRs that require attention from people who are familiar with C++.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL