diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2022-09-17 21:30:55 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2022-10-21 22:19:37 +0200 |
commit | 7e6357239c618e76dfb8cef2381c1ba182661c69 (patch) | |
tree | 1c48f6260121636f3e2cb7400b90fad90253c67b /libavutil/sha.h | |
parent | 89914fa82b70eec8e34e6f1400230fb4cc5a2f12 (diff) | |
download | ffmpeg-7e6357239c618e76dfb8cef2381c1ba182661c69.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 'libavutil/sha.h')
0 files changed, 0 insertions, 0 deletions