swscale/vscale: Check that 2 tap filters are bilinear before using bilinear code
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 14 Jan 2016 20:33:53 +0000 (21:33 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 14 Jan 2016 20:59:12 +0000 (21:59 +0100)
commiteb7802afefb7af4da50bc56818cdab9da07de7d0
tree7640bd0e1cabe381f2e2313e10b33340ac01465c
parentb99f4987167946872bd7987164445b4d20f35c33
swscale/vscale: Check that 2 tap filters are bilinear before using bilinear code

Fixes: out of array reads
Fixes: 07e8b9c5d348ccdf7add0f37de20cf6c/asan_heap-oob_27e8df7_6849_e56653f768070ec8cb52f587048444c2.mov

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libswscale/swscale_internal.h
libswscale/vscale.c