Blender Git Commit Log

Git Commits -> Revision 7ef10de

Revision 7ef10de by Kévin Dietrich (master)
December 27, 2015, 23:35 (GMT)
Fix for heap-use-after-free happening in GHOST_EventManager.

Issue was that dispatchEvent might call removeWindowEvents/
removeTypeEvents which will delete the event before we can do so.

To address this, handled events are now put in a separate list.

Reported by psy-fi and reviewed by brecht in IRC.

Commit Details:

Full Hash: 7ef10decdb609b6172f78a978b75454b3014b082
Parent Commit: 540ab7a
Lines Changed: +11, -3

2 Modified Paths:

/intern/ghost/intern/GHOST_EventManager.cpp (+10, -3) (Diff)
/intern/ghost/intern/GHOST_EventManager.h (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021