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>
Thu, 12 Mar 2015 17:03:49 +0000 (18:03 +0100)
commit00cde0cddc569ccd34f05ae188d47e006f16aafc
tree613d932514bb3c11eaaca4c2446454533a4ada43
parentb3242c0f2293e2fac8c80c3bfb444d6d20f29bb2
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