diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2022-01-17 14:26:05 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2022-03-28 23:18:55 +0200 |
commit | ea98cb2465c3b52fa468b8baf3f5b92d550f3d2c (patch) | |
tree | adfdf04fb20edf96f47e02cef9c7236d73684aa4 /libavformat/utils.c | |
parent | f1ae88029830e64d348a7ae86a5f12babe0afcb4 (diff) | |
download | ffmpeg-ea98cb2465c3b52fa468b8baf3f5b92d550f3d2c.tar.gz |
avformat/mov: Check size before subtraction
Fixes: signed integer overflow: -9223372036854775808 - 8 cannot be represented in type 'long'
Fixes: 43542/clusterfuzz-testcase-minimized-ffmpeg_dem_MOV_fuzzer-5237670148702208
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 d8d9d506a3de976b647bcbb8f76c7b8d30eff576)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/utils.c')
0 files changed, 0 insertions, 0 deletions