quantumdude836
  • Joined on 2024-05-29
quantumdude836 commented on issue blender/blender#122412 2024-05-29 05:43:19 +02:00
BMesh free: use after free with BMVert coordinates

I'd argue it is a bug. My understanding is that when a bmesh object is deleted, only the "native" object is actually deleted; the Python wrapper objects are updated to be "dead" so that they throw…

quantumdude836 commented on issue blender/blender#122412 2024-05-29 05:28:41 +02:00
BMesh free: use after free with BMVert coordinates

Tried modifying the script a bit to do more allocations:

import random
import bpy
import bmesh
from mathutils import Vector

bm = bmesh.new()
v = bm.verts.new(Vector((1, 2, 3)))
co…
quantumdude836 opened issue blender/blender#122412 2024-05-29 03:01:58 +02:00
BMesh free: use after free with BMVert coordinates