src: use non-deprecated v8::Uint8Array::kMaxLength #1114
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
3 errors
test-asan:
test/parallel/test-blob-buffer-too-large.js#L1
--- stderr ---
=================================================================
==99422==ERROR: AddressSanitizer: requested allocation size 0x1fffffffffffff (0x20000000001000 after adjustments for alignment, red zones etc.) exceeds maximum supported size of 0x10000000000 (thread T0)
#0 0xe7d752 in calloc (/home/runner/work/node-v8/node-v8/out/Release/node+0xe7d752)
#1 0xebe374 in node::NodeArrayBufferAllocator::Allocate(unsigned long) (/home/runner/work/node-v8/node-v8/out/Release/node+0xebe374)
#2 0x1e435ce in v8::internal::Heap::AllocateExternalBackingStore(std::function<void* (unsigned long)> const&, unsigned long) (/home/runner/work/node-v8/node-v8/out/Release/node+0x1e435ce)
#3 0x21e2435 in v8::internal::BackingStore::Allocate(v8::internal::Isolate*, unsigned long, v8::internal::SharedFlag, v8::internal::InitializedFlag) (/home/runner/work/node-v8/node-v8/out/Release/node+0x21e2435)
#4 0x1996679 in v8::internal::(anonymous namespace)::ConstructBuffer(v8::internal::Isolate*, v8::internal::Handle<v8::internal::JSFunction>, v8::internal::Handle<v8::internal::JSReceiver>, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, v8::internal::InitializedFlag) (/home/runner/work/node-v8/node-v8/out/Release/node+0x1996679)
#5 0x1994c06 in v8::internal::Builtin_ArrayBufferConstructor(int, unsigned long*, v8::internal::Isolate*) (/home/runner/work/node-v8/node-v8/out/Release/node+0x1994c06)
#6 0x7f0516763c75 in v8::internal::wasm::WasmEngine::GetOrCreateScript(v8::internal::Isolate*, std::shared_ptr<v8::internal::wasm::NativeModule> const&, v8::base::Vector<char const>) (/home/runner/work/node-v8/node-v8/out/Release/node+0x335ac75)
#7 0x7f05166c9d4e in v8::internal::wasm::TurboshaftGraphBuildingInterface::ArrayCopy(v8::internal::wasm::WasmFullDecoder<v8::internal::wasm::Decoder::FullValidationTag, v8::internal::wasm::TurboshaftGraphBuildingInterface, (v8::internal::wasm::DecodingMode)0>*, v8::internal::wasm::TurboshaftGraphBuildingInterface::Value const&, v8::internal::wasm::TurboshaftGraphBuildingInterface::Value const&, v8::internal::wasm::TurboshaftGraphBuildingInterface::Value const&, v8::internal::wasm::TurboshaftGraphBuildingInterface::Value const&, v8::internal::wasm::ArrayIndexImmediate const&, v8::internal::wasm::TurboshaftGraphBuildingInterface::Value const&) (/home/runner/work/node-v8/node-v8/out/Release/node+0x32c0d4e)
#8 0x7f0516815ed0 in v8::internal::wasm::DeserializeCodeTask::Run(v8::JobDelegate*) (/home/runner/work/node-v8/node-v8/out/Release/node+0x340ced0)
#9 0x7f0516751bfa in v8::internal::wasm::operator<<(v8::internal::wasm::StringBuilder&, int) (/home/runner/work/node-v8/node-v8/out/Release/node+0x3348bfa)
#10 0x7f05166cd7fb in v8::internal::wasm::WasmFullDecoder<v8::internal::wasm::Decoder::FullValidationTag, v8::internal::wasm::TurboshaftGraphBuildingInterface, (v8::internal::wasm::DecodingMode)0>::ParseBrOnCastFail(v8::internal::wasm::WasmOpcode, unsigned int, v8::internal::wasm::BrOnCastFlags) (/home/runner/work/node-v8/node-v8/out/Release/node+0x32c47fb)
#11 0x7f05168527e2 in v8::internal::Assembler::emit_not(v8::internal::Operand, int) (/home/runner/work/node-v8/node-v8/out/Release/node+0x34497e2)
#12 0x7f05166ccd9d in v8::internal::wasm::WasmFullDecoder<v8::internal::wasm::Decoder::FullValidationTag, v8::internal::wasm::TurboshaftGraphBuildingInterface, (v8::internal::wasm::DecodingMode)0>::ParseBrOnCast(v8::internal::wasm::WasmOpcode, unsigned int, v8::internal::wasm::BrOnCastFlags) (/home/runner/work/node-v8/node-v8/out/Release/node+0x32c3d9d)
#13 0x7f05166ccd9d in v8::internal::wasm::WasmFullDecoder<v8::internal::wasm::Decoder::FullValidationTag, v8::internal::wasm::TurboshaftGraphBuildingInterface, (v8::internal::wasm::DecodingMode)0>::ParseBrOnCast(v8::internal::wasm::WasmOpcode, unsigned int, v8::internal::wasm::BrOnCastFlags) (/home/runner/work/node-v8/node-v8/out/Release/node+0x32c3d9d)
#14 0x7f05166ccd9d in v8::internal::wasm::WasmFullDecoder<v8::internal::wasm::Decoder::FullValidationTag, v8::int
|
test-asan:
test/parallel/test-buffer-slow.js#L1
--- stderr ---
=================================================================
==100288==ERROR: AddressSanitizer: requested allocation size 0x1fffffffffffff (0x20000000001000 after adjustments for alignment, red zones etc.) exceeds maximum supported size of 0x10000000000 (thread T0)
#0 0xe7d5dd in malloc (/home/runner/work/node-v8/node-v8/out/Release/node+0xe7d5dd)
#1 0xebe3dd in node::NodeArrayBufferAllocator::Allocate(unsigned long) (/home/runner/work/node-v8/node-v8/out/Release/node+0xebe3dd)
#2 0x1e435ce in v8::internal::Heap::AllocateExternalBackingStore(std::function<void* (unsigned long)> const&, unsigned long) (/home/runner/work/node-v8/node-v8/out/Release/node+0x1e435ce)
#3 0x21e2435 in v8::internal::BackingStore::Allocate(v8::internal::Isolate*, unsigned long, v8::internal::SharedFlag, v8::internal::InitializedFlag) (/home/runner/work/node-v8/node-v8/out/Release/node+0x21e2435)
#4 0x1996679 in v8::internal::(anonymous namespace)::ConstructBuffer(v8::internal::Isolate*, v8::internal::Handle<v8::internal::JSFunction>, v8::internal::Handle<v8::internal::JSReceiver>, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, v8::internal::InitializedFlag) (/home/runner/work/node-v8/node-v8/out/Release/node+0x1996679)
#5 0x1994c06 in v8::internal::Builtin_ArrayBufferConstructor(int, unsigned long*, v8::internal::Isolate*) (/home/runner/work/node-v8/node-v8/out/Release/node+0x1994c06)
#6 0x7f921fe63c75 in v8::internal::wasm::WasmEngine::GetOrCreateScript(v8::internal::Isolate*, std::shared_ptr<v8::internal::wasm::NativeModule> const&, v8::base::Vector<char const>) (/home/runner/work/node-v8/node-v8/out/Release/node+0x335ac75)
#7 0x7f921fdc9d4e in v8::internal::wasm::TurboshaftGraphBuildingInterface::ArrayCopy(v8::internal::wasm::WasmFullDecoder<v8::internal::wasm::Decoder::FullValidationTag, v8::internal::wasm::TurboshaftGraphBuildingInterface, (v8::internal::wasm::DecodingMode)0>*, v8::internal::wasm::TurboshaftGraphBuildingInterface::Value const&, v8::internal::wasm::TurboshaftGraphBuildingInterface::Value const&, v8::internal::wasm::TurboshaftGraphBuildingInterface::Value const&, v8::internal::wasm::TurboshaftGraphBuildingInterface::Value const&, v8::internal::wasm::ArrayIndexImmediate const&, v8::internal::wasm::TurboshaftGraphBuildingInterface::Value const&) (/home/runner/work/node-v8/node-v8/out/Release/node+0x32c0d4e)
#8 0x7f921ff15ed0 in v8::internal::wasm::DeserializeCodeTask::Run(v8::JobDelegate*) (/home/runner/work/node-v8/node-v8/out/Release/node+0x340ced0)
#9 0x7f921fe51bfa in v8::internal::wasm::operator<<(v8::internal::wasm::StringBuilder&, int) (/home/runner/work/node-v8/node-v8/out/Release/node+0x3348bfa)
#10 0x7f921fdcd7fb in v8::internal::wasm::WasmFullDecoder<v8::internal::wasm::Decoder::FullValidationTag, v8::internal::wasm::TurboshaftGraphBuildingInterface, (v8::internal::wasm::DecodingMode)0>::ParseBrOnCastFail(v8::internal::wasm::WasmOpcode, unsigned int, v8::internal::wasm::BrOnCastFlags) (/home/runner/work/node-v8/node-v8/out/Release/node+0x32c47fb)
#11 0x7f921ff527e2 in v8::internal::Assembler::emit_not(v8::internal::Operand, int) (/home/runner/work/node-v8/node-v8/out/Release/node+0x34497e2)
#12 0x7f921fdccd9d in v8::internal::wasm::WasmFullDecoder<v8::internal::wasm::Decoder::FullValidationTag, v8::internal::wasm::TurboshaftGraphBuildingInterface, (v8::internal::wasm::DecodingMode)0>::ParseBrOnCast(v8::internal::wasm::WasmOpcode, unsigned int, v8::internal::wasm::BrOnCastFlags) (/home/runner/work/node-v8/node-v8/out/Release/node+0x32c3d9d)
#13 0x7f921fdcd6f0 in v8::internal::wasm::WasmFullDecoder<v8::internal::wasm::Decoder::FullValidationTag, v8::internal::wasm::TurboshaftGraphBuildingInterface, (v8::internal::wasm::DecodingMode)0>::ParseBrOnCastFail(v8::internal::wasm::WasmOpcode, unsigned int, v8::internal::wasm::BrOnCastFlags) (/home/runner/work/node-v8/node-v8/out/Release/node+0x32c46f0)
#14 0x7f921ff527e2 in v8::internal::Assembler::emit_not(v8::internal::Operand, int) (/home/runner/work/node-
|
test-asan
Process completed with exit code 2.
|