avcodec/dvbsubdec: Check object position
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 5 Mar 2019 19:14:05 +0000 (20:14 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 24 Mar 2019 09:39:03 +0000 (10:39 +0100)
commit5d28b2dc3737cdd5799e0bdb3593d94f604e8fc6
tree6fe576ab1653f30b78fc12aea15ead5308ca7a37
parentbed614b0ccfd3892629a57f1476b6960e23682cd
avcodec/dvbsubdec: Check object position

Reference: ETSI EN 300 743 V1.2.1  7.2.2 Region composition segment

Fixes: Timeout
Fixes: 13325/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DVBSUB_fuzzer-5143979392237568

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