node/test/pummel
Darshan Sen be01185844
src,inspector: fix empty MaybeLocal crash
Return early when the Inspector StringView to V8 String conversion fails
and returns an empty MaybeLocal instead of running the invalid
ToLocalChecked() assertion.

Fixes: https://github.com/nodejs/node/issues/42407
Signed-off-by: Darshan Sen <raisinten@gmail.com>

PR-URL: https://github.com/nodejs/node/pull/42409
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2022-04-09 07:09:03 +01:00
..
pummel.status test: exclude ibm i tests until we resolve 2022-02-01 18:19:25 -05:00
test-child-process-spawn-loop.js
test-crypto-dh-hash-modp18.js
test-crypto-dh-hash.js
test-crypto-dh-keys.js
test-crypto-timing-safe-equal-benchmarks.js
test-dh-regr.js deps,test,src,doc,tools: update to OpenSSL 3.0 2021-10-11 06:28:08 +02:00
test-fs-largefile.js
test-fs-readfile-tostring-fail.js
test-fs-watch-file-slow.js
test-fs-watch-file.js
test-fs-watch-non-recursive.js test: make fs watch test more stable 2022-01-29 19:49:26 +00:00
test-fs-watch-system-limit.js
test-hash-seed.js
test-heapdump-dns.js
test-heapdump-env.js
test-heapdump-fs-promise.js
test-heapdump-http2.js
test-heapdump-inspector.js
test-heapdump-tls.js
test-heapdump-worker.js
test-heapdump-zlib.js
test-heapsnapshot-near-heap-limit-big.js
test-heapsnapshot-near-heap-limit-bounded.js
test-heapsnapshot-near-heap-limit.js
test-http-many-keep-alive-connections.js
test-http-upload-timeout.js dns: default to verbatim=true in dns.lookup() 2021-09-12 21:05:35 +02:00
test-https-large-response.js
test-https-no-reader.js
test-keep-alive.js
test-net-bytes-per-incoming-chunk-overhead.js
test-net-many-clients.js
test-net-pause.js
test-net-pingpong-delay.js
test-net-pingpong.js dns: default to verbatim=true in dns.lookup() 2021-09-12 21:05:35 +02:00
test-net-throttle.js
test-net-timeout2.js
test-net-timeout.js
test-net-write-callbacks.js
test-next-tick-infinite-calls.js
test-policy-integrity-dep.js esm: support https remotely and http locally under flag 2022-02-09 19:47:12 -08:00
test-policy-integrity-parent-commonjs.js test: enable no-empty ESLint rule 2022-02-05 12:58:32 +00:00
test-policy-integrity-parent-module.js test: enable no-empty ESLint rule 2022-02-05 12:58:32 +00:00
test-policy-integrity-parent-no-package-json.js test: enable no-empty ESLint rule 2022-02-05 12:58:32 +00:00
test-policy-integrity-worker-commonjs.js test: enable no-empty ESLint rule 2022-02-05 12:58:32 +00:00
test-policy-integrity-worker-module.js test: enable no-empty ESLint rule 2022-02-05 12:58:32 +00:00
test-policy-integrity-worker-no-package-json.js test: enable no-empty ESLint rule 2022-02-05 12:58:32 +00:00
test-process-cpuUsage.js
test-process-hrtime.js
test-regress-GH-892.js test: use assert.match instead of regexp.test 2021-08-31 18:50:16 +02:00
test-repl-empty-maybelocal-crash.js src,inspector: fix empty MaybeLocal crash 2022-04-09 07:09:03 +01:00
test-stream-pipe-multi.js
test-timers.js
test-tls-server-large-request.js
test-tls-throttle.js
test-vm-memleak.js test: enable no-empty ESLint rule 2022-02-05 12:58:32 +00:00
test-vm-race.js
test-watch-file.js
test-webcrypto-derivebits-pbkdf2.js
test-worker-take-heapsnapshot.js
testcfg.py