IndexMap::truncate could lead to an inconsistent state
Description
IndexMap::truncate was not rebuilding indices when it should, leading to an inconsistent state and memory corruption.
Reported by Jacob Finkelman.
IndexMap::truncate was not rebuilding indices when it should, leading to an inconsistent state and memory corruption.
Reported by Jacob Finkelman.