Blender Git Loki

Git Commits -> Revision f993802

July 30, 2021, 14:51 (GMT)
Library loading: Fix access of out-of-scope memory in py context manager

The `__enter__` function of the `bpy.data.libraries.load` context manager
was storing a pointer to a stack-allocated variable, which was subsequently
used in the `__exit__` function, causing a crash. This is now fixed.

Thanks @Severin for the patch.

Commit Details:

Full Hash: f99380245610bfaf7a23835bf337bd54f15522ae
Parent Commit: 8225cca
Committed By: Fabian Schempp
Lines Changed: +4, -1

1 Modified Path:

/source/blender/python/intern/bpy_library_load.c (+4, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021