Skip to content

Conversation

@virt00l
Copy link
Contributor

@virt00l virt00l commented Feb 4, 2025

Different empty instances of hashtable (hast_map, hash_set...) are all pointing to the same global memory region gpEmptyBucketArray. Rewrite hashtable<>::DoFreeNodes in such way to avoid writing into said memory.

Caught by ThreadSanitizer on clear'ing different (but empty) hashtable instances

Different empty instances of hashtable (hast_map, hash_set...) are all
pointing to the same global memory region `gpEmptyBucketArray`.
Rewrite `hashtable<>::DoFreeNodes` in such way to avoid writing into
said memory.

Caught by ThreadSanitizer on clear'ing different (but empty) hashtable
instances
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.

1 participant