-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed as not planned
Labels
area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.needs-infoWe need additional information from the issue author (auto-closed after 14 days if no response)We need additional information from the issue author (auto-closed after 14 days if no response)type-bugIncorrect behavior (everything from a crash to more subtle misbehavior)Incorrect behavior (everything from a crash to more subtle misbehavior)
Description
Line 5601 in c3a4f56
| static intptr_t element_offset(intptr_t index) { |
sizeof(UntaggedObjectPool::Entry) is 8 on arm64
0x7FFFFFFF is the max signed positive integer. So any value 0xFFFFFFF or larger would overflow here.
We happened to hit this in a test case. I'm not sure any dart program in the wild actually has 268M object pool entries. :)
Metadata
Metadata
Assignees
Labels
area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.needs-infoWe need additional information from the issue author (auto-closed after 14 days if no response)We need additional information from the issue author (auto-closed after 14 days if no response)type-bugIncorrect behavior (everything from a crash to more subtle misbehavior)Incorrect behavior (everything from a crash to more subtle misbehavior)