]> git.sesse.net Git - ffmpeg/commit
avformat/mpegts: Limit copied data to space
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 4 Nov 2020 00:06:47 +0000 (01:06 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 7 Nov 2020 19:10:51 +0000 (20:10 +0100)
commit79cf7c71910a69b9f22b3e7ee6508a771262abaf
tree8e75397e914a3a7bb2295ddb2f287ce5709b1c9d
parent406879f49c414763bbb1b2e75ca1826d179ee2c1
avformat/mpegts: Limit copied data to space

Fixes: out of array access
Fixes: 26816/clusterfuzz-testcase-minimized-ffmpeg_dem_MPEGTSRAW_fuzzer-6282861159907328.fuzz
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/mpegts.c