Blender Git Commit Log

Git Commits -> Revision e08ac50

Revision e08ac50 by Clément Foucault (master)
April 15, 2020, 20:30 (GMT)
Fix T75443 Color Management: Use after free crash when using curve mapping

The root cause is that viewport can draw cached version of themself but
the scene can have been updated and the pointed curvemapping could have
been freed.

To workaround this we just keep a copy of the curvemap at the viewport
level.

Commit Details:

Full Hash: e08ac50a5ce384e62786bc3b67344414fd8d25aa
Parent Commit: e9a3a1a
Lines Changed: +41, -2

2 Modified Paths:

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