diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2021-07-11 12:39:34 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2021-07-17 10:48:27 +0200 |
commit | 65b862ab59c4bfaae98be596b84a072f52444398 (patch) | |
tree | 02aead5104f73a407a0cf00af16791ba785abd91 /libavcodec/xsubenc.c | |
parent | adae546f2462006c6deae63ecd6402c3a2f2f566 (diff) | |
download | ffmpeg-65b862ab59c4bfaae98be596b84a072f52444398.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>
Diffstat (limited to 'libavcodec/xsubenc.c')
0 files changed, 0 insertions, 0 deletions