Blender Git Commit Log

Git Commits -> Revision 4e6324d

Revision 4e6324d by Sergey Sharybin (master)
August 14, 2017, 12:55 (GMT)
Cycles: Guard memcpy to potentially re-allocating memory with lock

Basically, make re-alloc and memcpy from the same lock, otherwise one
thread might be re-allocating thread while another one is trying to
copy data there.

Reported by Mohamed Sakr in IRC, thanks!

Commit Details:

Full Hash: 4e6324dd59c78099f5360d22c53533f6925dfbfa
Parent Commit: f0c2f4f
Lines Changed: +1, -3

1 Modified Path:

/intern/cycles/bvh/bvh_build.cpp (+1, -3) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021