diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-01-23 17:08:27 +0100 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2020-01-26 12:41:31 -0300 |
commit | 58428bef4b2c053f47dce35157fb96833ba8efea (patch) | |
tree | 29e92e8ef993e5cb3f02ed4d23bb14b1938e5df1 /libavformat/rtpdec_dv.c | |
parent | 6e6b34917e0717e8844b962cfa413e71f9cdb72d (diff) | |
download | ffmpeg-58428bef4b2c053f47dce35157fb96833ba8efea.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>
Diffstat (limited to 'libavformat/rtpdec_dv.c')
0 files changed, 0 insertions, 0 deletions