crypto: isolate cipher job errors · nodejs/node@529bd18 · GitHub
Skip to content

Commit 529bd18

Browse files
panvaaduh95
authored andcommitted
crypto: isolate cipher job errors
Use only errors captured by the cipher job when converting its result. Unrelated errors on the event loop thread must not turn a successful operation into a failure or trigger an assertion. Signed-off-by: Filip Skokan <panva.ip@gmail.com> Assisted-by: Codex PR-URL: #66237 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Aviv Keller <me@aviv.sh>
1 parent d4af11e commit 529bd18

2 files changed

Lines changed: 47 additions & 5 deletions

File tree

‎src/crypto/crypto_cipher.h‎

Lines changed: 2 additions & 5 deletions
Lines changed: 45 additions & 0 deletions

0 commit comments

Comments
 (0)