Blender Git Loki

Git Commits -> Revision 60fee69

Revision 60fee69 by Sybren A. Stüvel (master)
July 15, 2021, 14:04 (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: 60fee69682ac399204404a03ba99845787a53e39
Parent Commit: 3df40cc
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