Fix #35330: Blur node crash due to size overflow
authorSergey Sharybin <sergey.vfx@gmail.com>
Mon, 13 May 2013 11:52:04 +0000 (11:52 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Mon, 13 May 2013 11:52:04 +0000 (11:52 +0000)
commit356d4c3085bcff1664cdf1d57ac325323d66e519
treeba40c10cf1d3dbcda366d6f0cdba99032f1aeaa1
parente40d403e43972109a57ff705ff29da60dfa6808d
Fix #35330: Blur node crash due to size overflow

Issue was caused by too hight value used for size,
which came from infinite Z-buffer point.

Solved the crash by clamoing maximal gaussian table
radius to 30K, which seems to be reasonable.
source/blender/compositor/operations/COM_BlurBaseOperation.h
source/blender/compositor/operations/COM_GaussianAlphaXBlurOperation.cpp
source/blender/compositor/operations/COM_GaussianAlphaYBlurOperation.cpp
source/blender/compositor/operations/COM_GaussianXBlurOperation.cpp
source/blender/compositor/operations/COM_GaussianYBlurOperation.cpp