[FFmpeg-devel] [PATCH 3/3] avcodec/truemotion2: Check huffman code max bits
Tomas Härdin
tjoppen at acc.umu.se
Mon Nov 19 00:29:10 EET 2018
lör 2018-11-17 klockan 03:01 +0100 skrev Michael Niedermayer:
> Fixes: Timeout
> Fixes: 10984/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TRUEMOTION2_fuzzer-6643310750859264
>
> Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
> > Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> ---
> libavcodec/truemotion2.c | 15 ++++++++++-----
> 1 file changed, 10 insertions(+), 5 deletions(-)
>
> diff --git a/libavcodec/truemotion2.c b/libavcodec/truemotion2.c
> index c583ff4032..5d12a70839 100644
> --- a/libavcodec/truemotion2.c
> +++ b/libavcodec/truemotion2.c
> @@ -114,7 +114,7 @@ typedef struct TM2Huff {
>
> static int tm2_read_tree(TM2Context *ctx, uint32_t prefix, int length, TM2Huff *huff)
Since you seem to be changing what this function returns, a comment
saying what it returns would be nice
Don't have much else to say about the patch since I don't know this
format
/Tomas
More information about the ffmpeg-devel
mailing list