diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2024-10-30 13:18:26 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2024-11-02 11:25:10 -0400 |
commit | 789e19f9dca87780aff3485d4a120d8b4ddedfb1 (patch) | |
tree | 4b95a7b02632aa7d8307f5a670ac78e19a50e994 /src/bar.c | |
parent | c90d4af8750bef77ce9abe91df80d5d98ba297d7 (diff) | |
download | bfs-789e19f9dca87780aff3485d4a120d8b4ddedfb1.tar.xz |
trie: Fix varena_free() with wrong size
In trie_remove(), clearing the bit before trie_node_collapse() causes us
to free the old node with size 1 instead of 2, putting it on the wrong
freelist. This is technically safe with the current arena
implementation, but not intentional.
Diffstat (limited to 'src/bar.c')
0 files changed, 0 insertions, 0 deletions