aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_readvitc.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-01-23 17:08:27 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-07-01 23:08:14 +0200
commit31fa5fb84e816bf220c216367c99f9350af62256 (patch)
tree70fe131e37c53ad1afc7783c01ec59bb5a343d0d /libavfilter/vf_readvitc.c
parentd9e4783f0629cd99bcdd6a844a83015df3006b38 (diff)
downloadffmpeg-31fa5fb84e816bf220c216367c99f9350af62256.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_readvitc.c')
0 files changed, 0 insertions, 0 deletions