-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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
StringDecoder.write() doesn't report error when buffer length exceeds max integer value #52214
Labels
string_decoder
Issues and PRs related to the string_decoder subsystem.
Comments
I will try to fix it. |
mertcanaltin
added
the
string_decoder
Issues and PRs related to the string_decoder subsystem.
label
Mar 26, 2024
Ch3nYuY
pushed a commit
to Ch3nYuY/node
that referenced
this issue
May 8, 2024
PR-URL: nodejs#52215 Fixes: nodejs#52214 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: theanarkh <theratliter@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
eliphazbouye
pushed a commit
to eliphazbouye/node
that referenced
this issue
Jun 20, 2024
PR-URL: nodejs#52215 Fixes: nodejs#52214 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: theanarkh <theratliter@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
bmeck
pushed a commit
to bmeck/node
that referenced
this issue
Jun 22, 2024
PR-URL: nodejs#52215 Fixes: nodejs#52214 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: theanarkh <theratliter@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
21.6.0
Platform
Linux benchmark-S2600WFT 5.15.0-41-generic #44-Ubuntu x86_64 GNU/Linux
Subsystem
No response
What steps will reproduce the bug?
How often does it reproduce? Is there a required condition?
Always
What is the expected behavior? Why is that the expected behavior?
When executing
console.log(decoder.write(buf).length);
, expect throw an string longer error instead of output0
What do you see instead?
output: 0
Additional information
No response
The text was updated successfully, but these errors were encountered: