Blender Git Commit Log

Git Commits -> Revision 6453853

Revision 6453853 by Sybren A. Stüvel (master)
April 1, 2021, 10:28 (GMT)
Fix T87056: Segfault in GPU_batch_clear() involing Lattice evaluation

Fix a segfault by setting the `batch_cache` pointer to `NULL` when copying
a Lattice. That way the copy can get its own batch cache when needed,
preventing a use-after-free.

Commit Details:

Full Hash: 64538532d44d35c109dc4c82e11c4e173f5f29a3
Parent Commit: d904271
Lines Changed: +1, -0

1 Modified Path:

/source/blender/blenkernel/intern/lattice.c (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021