ffmpeg/libavformat
Michael Niedermayer 4f822df7b5 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>
2021-10-17 21:34:53 +02:00
..
2015-04-07 22:50:07 +02:00
2016-01-15 12:30:40 +01:00
2017-02-08 21:17:50 +01:00
2015-08-18 10:24:01 -04:00
2021-10-17 21:34:53 +02:00
2016-01-27 23:45:44 +01:00
2015-09-03 12:42:40 +02:00
2021-10-17 21:34:53 +02:00
2021-10-17 21:34:53 +02:00
2016-01-28 15:53:54 +01:00
2015-05-26 19:54:41 +02:00
2016-01-15 12:30:40 +01:00
2021-10-17 21:34:53 +02:00
2017-06-05 23:16:54 +02:00
2015-09-01 22:46:23 +02:00
2021-10-17 21:34:53 +02:00
2015-12-20 13:39:45 +01:00
2021-10-17 21:34:53 +02:00
2015-12-06 02:51:27 +01:00
2015-06-07 21:55:46 +02:00
2015-05-27 21:48:47 +02:00
2021-10-17 21:34:53 +02:00
2015-04-23 12:56:31 +02:00
2015-12-13 10:14:24 +01:00
2020-07-05 12:43:08 +02:00
2015-06-22 10:47:29 +03:00
2021-10-17 21:34:53 +02:00
2019-12-02 19:41:48 +01:00