diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2021-07-11 12:39:34 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2021-09-09 13:54:52 +0200 |
commit | c9784a783be17dc1c80e3d0f9fe9e0dceff38204 (patch) | |
tree | f66f38415f60360c6df13b038c2a0259b48d4c71 /libavcodec/vp9_superframe_bsf.c | |
parent | ff3ae6999959150ef488b170bbcc2fb6610b3572 (diff) | |
download | ffmpeg-c9784a783be17dc1c80e3d0f9fe9e0dceff38204.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 'libavcodec/vp9_superframe_bsf.c')
0 files changed, 0 insertions, 0 deletions