Blender Git Loki
Git Commits -> Revision d097c2a
Revision d097c2a by Germano Cavalcante (master) March 31, 2017, 04:01 (GMT) |
Fix T51072: The reference of a pyobject may be being overwritten in `bm_mesh_remap_cd_update` In this case the Pyobject gets lost from pybm, and bm.free() does not invalidate the PyElem. This will cause the destructor of python to read invalid memory and crash. The solution is to make a copy of the pyobjects pointers before overwriting. |
Commit Details:
Full Hash: d097c2a1b3155bf287abf72d56e1ab3a57b8b870
Parent Commit: 8bd61ea
Lines Changed: +36, -20
1 Modified Path:
/source/blender/bmesh/intern/bmesh_mesh.c (+36, -20) (Diff)