mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-05-16 04:55:27 +03:00
5d896a6cc6
The pointer to a slot in a hash map was fetched before a recursive call. If the hash map's size changed during the recursive call, this would write to an invalid pointer. The solution is to use an index instead of a pointer. Note that care must be taken that resolved types (from the type_cahce) must not be accessed, as they might be incomplete during this operation.