Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use after free reported in TokTok#278 occurs because toxav_kill()
calls msi_kill() (toxav.c:180) which frees msi_call instances (msi.c:161) which are then used when call_remove() (toxav.c:1136) is called. This fix prevents call_remove() from calling invalid pointer. Fixes TokTok#278
- Loading branch information