Files
node/src/api
Joyee Cheung 1f193165b9 src: fix reading empty string views in Blob[De]serializer
The string writing/reading was intended for debugging info
in snapshot, which had a CHECK_GT(length, 0) check, it then
got repurposed for SEA resource writing/reading and turned
into a helper for string views, but was not updated to handle
empty views, causing occasional crash in the CI when the
read is protected. This patch fixes it.

PR-URL: https://github.com/nodejs/node/pull/52000
Fixes: https://github.com/nodejs/node/issues/50740
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2024-03-10 10:40:24 +00:00
..
2024-02-27 13:27:19 +01:00
2022-11-10 01:09:18 +00:00
2019-11-28 23:21:08 +01:00