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:19:10 +0000 (17:19 +0100)
commit3d71024f8ab35721f674f116ac84d734a1c6d517
tree4e88e279fa6ab672e9b53f0cfef2084e09c11e14
parentb834dc14da082473e532da2baff1b28ce85f2b49
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