Blender Git Commit Log
Git Commits -> Revision 802d253
Revision 802d253 by Alexander Gavrilov (blender-v2.78-release, blender-v2.78b-release, blender-v2.78c-release, fracture_modifier, fracture_modifier-master, temp-fracture-modifier-2.8) September 14, 2016, 08:26 (GMT) |
Fix T49251: moving smoke domain with additional resolution causes crash. This is a bug in the multithreaded task manager in negative value range. The problem here is that if previter is unsigned, the comparison in the return statement is unsigned, and works incorrectly if stop < 0 && iter >= 0. This in turn can happen if stop is close to 0, because this code is designed to overrun the stop by chunk_size*num_threads as the threads terminate. This probably should go into 2.78 as it prevents a crash. |
Commit Details:
Full Hash: 802d253a46f62ac2073a8f5b6cbfb93c2cabc645
Parent Commit: a2e08ef
Committed By: Sergey Sharybin
Lines Changed: +3, -2
1 Modified Path:
/source/blender/blenlib/intern/task.c (+3, -2) (Diff)