Blender Git Commit Log

Git Commits -> Revision 8bdbbca

Revision 8bdbbca by Lukas Toenne (master)
October 29, 2013, 17:46 (GMT)
Fix #37192, Rendered preview causes crash when deleting a material node in shader node editor. The 'free' callback for node execution data was accessed from the node->typeinfo, but this pointer can
become invalid because the render database is not immediately freed after the job finishes. To avoid access to dangling node pointers, store the function callback in the exec data itself. The node
pointer must not be accessed in the free function (wasn't used before either), these functions are purely for the execution data.

Commit Details:

Full Hash: 8bdbbca4858ab143661f371cc302092759e29408
SVN Revision: 60997
Parent Commit: 8d11abb
Lines Changed: +8, -6

5 Modified Paths:

/source/blender/blenkernel/BKE_node.h (+1, -1) (Diff)
/source/blender/nodes/intern/node_exec.c (+3, -3) (Diff)
/source/blender/nodes/intern/node_exec.h (+2, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_common.c (+1, -1) (Diff)
/source/blender/nodes/texture/nodes/node_texture_common.c (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021