Assertion failed: args[1]->IsUint32()
when slicing Blob with non-integer parameters
#55139
Labels
args[1]->IsUint32()
when slicing Blob with non-integer parameters
#55139
Version
20.17.0
Platform
Subsystem
Buffer/Blob
What steps will reproduce the bug?
How often does it reproduce? Is there a required condition?
Always, no special requirements needed.
What is the expected behavior? Why is that the expected behavior?
I would not expect Node to crash with a native error, as this is not possible/easy to catch.
What do you see instead?
Additional information
The functionality of Node v20 seems to have changed as of v20.15.0. v20.14.0 does not crash with this repro.
I have tested with v22.9.0 and it experiences the same crash.
v18.20.4 does not crash.
The text was updated successfully, but these errors were encountered: