swscale/utils: clear formatConvBuffer on allocation
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 27 Feb 2015 02:12:23 +0000 (03:12 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 27 Feb 2015 02:13:14 +0000 (03:13 +0100)
commit007498fc1a639ecee2cda1892cbcff66c7c8c951
tree5706bccfcf0856e2d2466c31e100c5b1f8cb94bb
parentd0b8640f75ff7569c98d6fdb03d83451104e088c
swscale/utils: clear formatConvBuffer on allocation

Fixes use of uninitialized memory
Fixes: asan_heap-oob_35ca682_1474_cov_3230122439_aletrek_tga_16bit.mov

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libswscale/utils.c