aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rawvideodec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2022-01-17 14:26:05 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2022-02-16 18:55:58 +0100
commitea9125a43f1dec0e40841f51d92ef404260330e5 (patch)
tree6da53c0a472db8bed06cad0318cb793aaca48619 /libavformat/rawvideodec.c
parent9a1fa28965b04cd875cc9d54f537c5617fb0e414 (diff)
downloadffmpeg-ea9125a43f1dec0e40841f51d92ef404260330e5.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/rawvideodec.c')
0 files changed, 0 insertions, 0 deletions