]> git.sesse.net Git - ffmpeg/commit
avcodec/txd: Check for input size against the header size.
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 18 Feb 2020 22:14:16 +0000 (23:14 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 29 Apr 2020 21:33:33 +0000 (23:33 +0200)
commitaeb4e435847e0c970bcb1a835fe5eda17a4e1ce3
treefa075bc072e4b4960baed69c135fb89c507c4a85
parent55e344ee5aa6f6e04e50bbac457e0ca53433ab75
avcodec/txd: Check for input size against the header size.

Fixes: Timeout (21sec -> 80ms)
Fixes: 20673/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TXD_fuzzer-5177453863763968
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/txd.c