OSDN Git Service

avcodec/dvbsubdec: Check entry_id
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 11 May 2017 13:18:50 +0000 (15:18 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 11 May 2017 13:51:08 +0000 (15:51 +0200)
commit8a69f2602fea04b7ebae2db16f2581e8ff5ee0cd
tree31769febc1ae6200369fdad8be3700d43b70257d
parent3a0ff78168f80f5b2c5c5544325aca4023bc67a4
avcodec/dvbsubdec: Check entry_id

Fixes: randomly writing over the array end
Fixes: 1473/clusterfuzz-testcase-minimized-5768907824562176

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