swscale/yuv2rgb: Increase YUV2RGB table headroom
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 14 Jan 2016 02:05:11 +0000 (03:05 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 15 Jan 2016 16:39:04 +0000 (17:39 +0100)
commitdc6a9162a2d26b4fea089e00bd574f67d9ee4e91
tree1cbb8a02520cdc3a8466b5ca5f9a051a04c6420d
parent9c67c52acc9491640d8f8aab1bdfe7ffb79ec4f6
swscale/yuv2rgb: Increase YUV2RGB table headroom

This makes SWS more robust
Fixes: 07650a772d98aa63b0fed6370dc89037/asan_heap-oob_27ddeaf_2657_2c81ff264dee5d9712cb3251fb9c3bbb.264
Fixes: out of array read

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 8f3a9a8c278acf886f70a1d743bc07b6f9c7b51a)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libswscale/swscale_internal.h