Blender Git Commit Log

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)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021