]> git.sesse.net Git - ffmpeg/commit
avformat/id3v2: Check against max compression ratio before allocation
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 28 Nov 2020 22:43:23 +0000 (23:43 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 18 Jan 2021 23:05:50 +0000 (00:05 +0100)
commitc48110a4a4b3ba87cb3ffe66753bff13c618a04d
treefbdba57bb188f9cbaf64c8716c6b6c6d9aba93c7
parent7d7ae689729ab331d67c2e17442715c75aca6e4a
avformat/id3v2: Check against max compression ratio before allocation

Fixes: Timeout (>10sec -> 12ms)
Fixes: 27612/clusterfuzz-testcase-minimized-ffmpeg_dem_PCM_S24BE_fuzzer-6605893000757248
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/id3v2.c