diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2019-09-09 20:05:09 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2019-11-11 20:18:47 +0100 |
commit | b736f5be190506cfcd5b332178e1cfdc059c1605 (patch) | |
tree | d605e8cbec3c236b6066589fdb82ac4eff3d6c8c /tests/ref/fate/filter-removegrain-mode-18 | |
parent | 07e77be69f0f3b7b61556438fb149f2b58b5c1b2 (diff) | |
download | ffmpeg-b736f5be190506cfcd5b332178e1cfdc059c1605.tar.gz |
avcodec/g2meet: Check if adjusted pixel was on the stack
This basically checks if a pixel that was coded with prediction
and residual could have been stored using a previous case.
This avoids basically a string of 0 symbols stored in less than
50 bytes to hit a O(n²) codepath.
Fixes: Timeout (too slow to wait -> immediately)
Fixes: 8668/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_G2M_fuzzer-4895946310680576
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 9c84c162e9f9f000ef47d4fcd07354805f38d455)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'tests/ref/fate/filter-removegrain-mode-18')
0 files changed, 0 insertions, 0 deletions