Skip to content

VM should use a uintptr_t for external_size #49332

@dnfield

Description

@dnfield

Setting the external size to a value larger than std::numeric_limits<intptr_t>::max() will cause an assert to fire in the VM that the value is not >= 0: https://github.com/dart-lang/sdk/blob/main/runtime/vm/dart_api_state.h#L227

Metadata

Metadata

Assignees

Labels

area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.vm-gcRelated to the VM's garbage collector

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions