You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 26, 2025. It is now read-only.
Constructs like this: Section(this, _counter, section_) (where this is mut::Morphology` - from)
This means that a raw pointer is stored here that has a different lifetime than Morphology.
This causes a use after free if the Morphology is dtor'd before the sections that have been created are removed, for example:
from morphio.mut import Morphology
m = Morphology('simple.swc')
s = m.root_sections[0]
del m # ~mut.Morphology() called
print(s.children) # use after free