diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2021-06-24 19:53:47 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2021-10-20 23:11:11 +0200 |
commit | 13044f729d799132d1e3df21ee731ebc0cafbbe5 (patch) | |
tree | e3ae1ed10f308f9ff07aba3c385a1441acf23267 /libavresample | |
parent | 4069494725d70082d343f6aa6bca330424932987 (diff) | |
download | ffmpeg-13044f729d799132d1e3df21ee731ebc0cafbbe5.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 'libavresample')
0 files changed, 0 insertions, 0 deletions