Blender Git Loki

Git Commits -> Revision 69c389f

August 17, 2017, 12:07 (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: 69c389fd63432d164f3ceaaf3b408e7d76504a3e
Parent Commit: 686b8e8
Lines Changed: +1, -3

1 Modified Path:

/intern/cycles/bvh/bvh_build.cpp (+1, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021