-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
Node crashes for corner case with streams / readline #12152
Comments
mscdex
added
c++
Issues and PRs that require attention from people who are familiar with C++.
readline
Issues and PRs related to the built-in readline module.
v7.x
labels
Mar 31, 2017
This should be a reduced reproduction: Basically, you are passing a string to the stream and claiming it’s a buffer. There could probably be some typechecking for that so that the process doesn’t crash, but that’s it. |
addaleax
removed
readline
Issues and PRs related to the built-in readline module.
v7.x
labels
Mar 31, 2017
3 tasks
PR to fix: #12753 |
addaleax
added a commit
to addaleax/node
that referenced
this issue
May 3, 2017
Turn a `CHECK()` that could be brought to fail using public APIs into throwing an error. Fixes: nodejs#12152
anchnk
pushed a commit
to anchnk/node
that referenced
this issue
May 6, 2017
Turn a `CHECK()` that could be brought to fail using public APIs into throwing an error. Fixes: nodejs#12152 PR-URL: nodejs#12753 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
gibfahn
pushed a commit
that referenced
this issue
Jun 18, 2017
Turn a `CHECK()` that could be brought to fail using public APIs into throwing an error. Fixes: #12152 PR-URL: #12753 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
gibfahn
pushed a commit
that referenced
this issue
Jun 20, 2017
Turn a `CHECK()` that could be brought to fail using public APIs into throwing an error. Fixes: #12152 PR-URL: #12753 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
MylesBorins
pushed a commit
that referenced
this issue
Jul 11, 2017
Turn a `CHECK()` that could be brought to fail using public APIs into throwing an error. Fixes: #12152 PR-URL: #12753 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
ghost
mentioned this issue
Mar 27, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Linux ryan-XPS-13-9360 4.4.0-71-generic #92-Ubuntu SMP Fri Mar 24 12:59:01 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
I wish I could explain why this code fails, but I'm not entirely sure. At a glance it looks like a type-error occurs in V8 due to a missing check for the buffer-type in Node.js:
If you need any more details let me know
The text was updated successfully, but these errors were encountered: