avcodec/dvdsubdec: error on bitmaps with size 0
authorwm4 <nfxjfg@googlemail.com>
Wed, 7 Jan 2015 22:57:50 +0000 (23:57 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 9 Jan 2015 16:18:41 +0000 (17:18 +0100)
commit2ba1af5791fc405ad648851344fe6dd83d1c92c1
tree918cfee4e46ac4ca13dd1a45e069631a7abd8f35
parent51e880fed97faae571a872cf51a6960e9f172094
avcodec/dvdsubdec: error on bitmaps with size 0

Attemtping to decode them could lead to invalid writes with some fuzzed
samples.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit bcaa9099b3648b47060e1724a97dc98b63c83702)

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