Skip to content

Conversation

@c247t
Copy link
Collaborator

@c247t c247t commented Apr 7, 2025

This should primarily fix issues when a modification of a TLongLongHashMap occurs while iteration is in progress within #keys(). The most obvious issue is an out-of-bounds array access due to removal; other possible corruptions might be more subtle.

Furthermore, extractions of positions from DumpIndex implementations have apparently always been problematic, insofar as 0L is a perfectly valid position in any dump, though until now the TLongLists used in the retrieval have never been initialized with a non-zero no_entry_value. Except for UniqueIndex, where the no_entry_value had been initialized to a rather arbitrary 10_000L; if this position was ever the actual start of an externalized value inside the dump, we must have missed it consistently in the list of extracted positions.

@c247t c247t self-assigned this Apr 7, 2025
@c247t c247t requested a review from kelunik April 7, 2025 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants