swscale/utils: More carefully merge and clear coefficients outside the input
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 23 Feb 2015 23:32:39 +0000 (00:32 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 14 Mar 2015 13:27:23 +0000 (14:27 +0100)
commitd125abfa748797e80fa6458e86260f5ddb1ef2cc
tree0b44c5614311b10aaa513858daf3e2b0a9f8e773
parente29761b1c850513b19f435cf59903ee63991a30c
swscale/utils: More carefully merge and clear coefficients outside the input

Fixes out of array read
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>
(cherry picked from commit 1895d414aaacece3b57d7bf19502305e9a064fae)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libswscale/utils.c