"crypto.createCipher()._flush" results in an abort #37922
Labels
crypto
Issues and PRs related to the crypto subsystem.
known limitation
Issues that are identified as known limitations.
stream
Issues and PRs related to the stream subsystem.
What steps will reproduce the bug?
Setup a node instance,
and run the following javascript code.
Then an abort occurs.
How often does it reproduce? Is there a required condition?
This abort can always be triggered following the steps above.
What is the expected behavior?
I'm not sure this problem is of
crypto
orstreams
, but I still suggest setting these internal APIs as private fields or something like that to prevent misuse. If any error occurs, an exception or other similar error-reporting stuff should be thrown. There is no reason to abort the whole node process.What do you see instead?
Additional information
The text was updated successfully, but these errors were encountered: