diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2021-07-11 12:39:34 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2021-10-06 13:54:16 +0200 |
commit | 6d72fc6be2bef83901364e85e01f5b3374b62ddf (patch) | |
tree | e76311316d64d005311342d5f2af222aa0d614f0 /libavformat/c93.c | |
parent | 796a84fd047099ba25329ee2c420d11709ebe8b1 (diff) | |
download | ffmpeg-6d72fc6be2bef83901364e85e01f5b3374b62ddf.tar.gz |
avformat/mxfdec: Check size for shrinking
av_shrink_packet() takes int size, so size must fit in int
Fixes: out of array access
Fixes: 35607/clusterfuzz-testcase-minimized-ffmpeg_dem_MXF_fuzzer-4875541323841536
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 65b862ab59c4bfaae98be596b84a072f52444398)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/c93.c')
0 files changed, 0 insertions, 0 deletions