diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2022-09-17 21:30:55 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2022-10-09 21:33:08 +0200 |
commit | 0c56afb8d6c28d98ed9d4d373d6461c0921ac382 (patch) | |
tree | 56280e365575f4bd542a0e19dac37893260c561f /libavcodec/cdgraphics.c | |
parent | 4235afc12c303219c458be1016a36c84d3cc3354 (diff) | |
download | ffmpeg-0c56afb8d6c28d98ed9d4d373d6461c0921ac382.tar.gz |
avformat/asfdec_o: Limit packet offset
avoids overflows with it
Fixes: signed integer overflow: 9223372036846866010 + 4294967047 cannot be represented in type 'long'
Fixes: 50993/clusterfuzz-testcase-minimized-ffmpeg_dem_ASF_O_fuzzer-6538296768987136
Fixes: 50993/clusterfuzz-testcase-minimized-ffmpeg_dem_ASF_O_fuzzer-657169555665715
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 736e9e69d5dbbe1d81885dfef59917eb915d2f96)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/cdgraphics.c')
0 files changed, 0 insertions, 0 deletions