Skip to content

Fix memory leaks in FIBBI/FIPPI caches#200

Open
texnokrates wants to merge 1 commit intoHomerReid:masterfrom
texnokrates:memleaks_cherrypick
Open

Fix memory leaks in FIBBI/FIPPI caches#200
texnokrates wants to merge 1 commit intoHomerReid:masterfrom
texnokrates:memleaks_cherrypick

Conversation

@texnokrates
Copy link
Copy Markdown

@texnokrates texnokrates commented Jun 4, 2019

There were two different auxiliary classes with the same name for the FIBBI/FIPPI cache hash functions. This caused a linking mismatch and consequently memory leaks, probably also corruption of the cache.
Making the names unique fixes the problem.

This might not be the most C++ way, but better than the previous
state that misbehaved (methods from FIBBICache.cc
could be linked from FIPPICache.cc, causing invalid reads
and possibly memory corruption).

(cherry picked from commit 6e29b17)
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