diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2021-06-24 19:53:47 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2021-10-21 19:21:14 +0200 |
commit | bac4bb747a233f23b3183594207328f4a067e1fb (patch) | |
tree | 94dad69da417856b1b6121d1b7ad331033f213d8 /libavutil/tests/ripemd.c | |
parent | ea190a10d3f80c6206d480fa232445e3bcda7459 (diff) | |
download | ffmpeg-bac4bb747a233f23b3183594207328f4a067e1fb.tar.gz |
avformat/matroskadec: Reset state also on failure in matroska_reset_status()
The calling code does not handle failures and will fail with assertion failures later.
Seeking can always fail even when the position was previously read.
Fixes: Assertion failure
Fixes: 35253/clusterfuzz-testcase-minimized-ffmpeg_dem_MATROSKA_fuzzer-4693059982983168
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 d115eec97929e23fd1b06df2d95f48cf5000eb87)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavutil/tests/ripemd.c')
0 files changed, 0 insertions, 0 deletions