summaryrefslogtreecommitdiff
path: root/deps/v8/src/objects
diff options
context:
space:
mode:
authorRay Wang <ray@isrc.iscas.ac.cn>2021-10-14 11:00:42 +0800
committerMichaël Zasso <targos@protonmail.com>2021-10-23 08:42:41 +0200
commitc83f47ff0031fbca3c01327eb9349a758d4bf620 (patch)
tree5f4f042dfa0b958b84cc7cb212d0ce1e6a6dedc3 /deps/v8/src/objects
parent5f0031e53fe059516e6e8ceb33b1046351a75bd7 (diff)
downloadnode-new-c83f47ff0031fbca3c01327eb9349a758d4bf620.tar.gz
deps: V8: cherry-pick 422dc378a1da
Original commit message: [deserialization] Remove unnecessarily limit on buffer size 1. Now there is no serializer/deserializer-specific buffer size limit. 2. Update AUTHORS Ref: https://github.com/nodejs/node/issues/40059 Change-Id: Iad4c6d8f68a91ef21d3c404fb7945949e69ad9e2 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3170411 Reviewed-by: Jakob Kummerow <jkummerow@chromium.org> Reviewed-by: Clemens Backes <clemensb@chromium.org> Commit-Queue: Jakob Kummerow <jkummerow@chromium.org> Cr-Commit-Position: refs/heads/main@{#77084} Refs: https://github.com/v8/v8/commit/422dc378a1da528b97c9d69ae71ca4c9f318c970 PR-URL: https://github.com/nodejs/node/pull/40450 Fixes: https://github.com/nodejs/node/issues/40059 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'deps/v8/src/objects')
-rw-r--r--deps/v8/src/objects/value-serializer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/v8/src/objects/value-serializer.cc b/deps/v8/src/objects/value-serializer.cc
index a84cf4e2c4..b80401ac36 100644
--- a/deps/v8/src/objects/value-serializer.cc
+++ b/deps/v8/src/objects/value-serializer.cc
@@ -1119,7 +1119,7 @@ ValueDeserializer::ValueDeserializer(Isolate* isolate,
: isolate_(isolate),
delegate_(delegate),
position_(data.begin()),
- end_(data.begin() + data.length()),
+ end_(data.end()),
id_map_(isolate->global_handles()->Create(
ReadOnlyRoots(isolate_).empty_fixed_array())) {}