Blender Git Commit Log

Git Commits -> Revision 7afd84d

Revision 7afd84d by Julian Eisel (master)
December 14, 2021, 19:13 (GMT)
Fix possible use-after-free on error handling during VR view drawing

Whenever an exception happens in VR session code, we cancel the entire
session. Alongside that, we removed the "surface" item used to draw into
an offscreen context. But this may still be stored as active surface,
leading to a use-after-free when deactivating this active surface, for
example.

Commit Details:

Full Hash: 7afd84df409ac40bc92faaa74181fa13015fe781
Parent Commit: 7e8912e
Lines Changed: +3, -0

1 Modified Path:

/source/blender/windowmanager/intern/wm_surface.c (+3, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021