Blender Git Loki

Git Commits -> Revision a750aca

Revision a750aca by Julian Eisel (master)
November 2, 2020, 23:00 (GMT)
Fix possible use-after-free when closing Blender with File Browser open

I think there wasn't actually any issue currently, but only by luck. We still
passed around and NULL-checked a pointer to freed memory (the file operator,
`SpaceFile.op`) which is easy to break and should be avoided.
Noticed while testing D8598.

Commit Details:

Full Hash: a750acab78cf38ca8f010c4ac81ec948faa79dd5
Parent Commit: 9cfcc27
Lines Changed: +35, -0

3 Modified Paths:

/source/blender/editors/include/ED_fileselect.h (+4, -0) (Diff)
/source/blender/editors/space_file/filesel.c (+18, -0) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+13, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021