avcodec/dstdec: Check read_table() for failure
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 15 Oct 2019 21:40:21 +0000 (23:40 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 9 Nov 2019 14:57:33 +0000 (15:57 +0100)
commit03ea8d8cd45e55eeb9675c38184dc2149710a557
tree5bf67f77c9ffd55f6829e69de1ee43d665f8c73e
parent2a8785966ca18bac2dae6de66df4d92f7f66b6a3
avcodec/dstdec: Check read_table() for failure

Fixes: Timeout (too long -> 42sec)
Fixes: 18181/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DST_fuzzer-5736646250594304

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