avcodec/dvbsubdec: check region dimensions
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 8 May 2017 13:17:31 +0000 (15:17 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 20 May 2017 01:41:33 +0000 (03:41 +0200)
commite7d36d262ea944b1003c79e9dfec3b256fe73f98
tree78c961baefd398bd8d6a5e0f6b7d5d8e76a1e0a0
parentea10865d780f34cfa468ec7887aef24ec9e49112
avcodec/dvbsubdec: check region dimensions

Fixes: 1408/clusterfuzz-testcase-minimized-6529985844084736
Fixes: integer overflow

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 0075d9eced22839fa4f7a6eaa02155803ccae3e6)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/dvbsubdec.c