Prevent interleaving calls to HashMap.removeAssertDiscard() / HashMap.putAssumeCapacity() from causing the hashmap to run out of memory #7468
Labels
accepted
This proposal is planned.
enhancement
Solving this issue will likely involve adding new logic or components to the codebase.
proposal
This issue suggests modifications. If it also has the "accepted" label then it is planned.
standard library
This issue involves writing Zig code for the standard library.
Milestone
The test passes for
ArrayHashMap
and otherwise causes an integer overflow on the available number ofEntry
's that may be reclaimed.The text was updated successfully, but these errors were encountered: