diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-01-23 17:08:27 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-07-03 13:10:43 +0200 |
commit | 013e49ab522c777a25e2a2cb6bef424c7f44a7bf (patch) | |
tree | 85c9c7d13b2eb9df241e6c7915d8d156bb21f843 /libavfilter/vf_pp7.h | |
parent | 4c7f9a32f9274a922fb5e783c8ec4eaa2462f4f6 (diff) | |
download | ffmpeg-013e49ab522c777a25e2a2cb6bef424c7f44a7bf.tar.gz |
avformat/matroskaenc: Check for reformatting errors
This is needed especially for AV1: If a reformatting error happens (e.g.
if the length field of an OBU contained in the current packet indicates
that said OBU extends beyond the current packet), the data pointer is
still NULL, yet the size is unchanged, so that writing the data leads
to a segmentation fault.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
(cherry picked from commit 58428bef4b2c053f47dce35157fb96833ba8efea)
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavfilter/vf_pp7.h')
0 files changed, 0 insertions, 0 deletions