diff options
author | Andreas Rheinhardt <[email protected]> | 2020-01-23 17:08:27 +0100 |
---|---|---|
committer | Andreas Rheinhardt <[email protected]> | 2020-07-01 23:08:14 +0200 |
commit | 31fa5fb84e816bf220c216367c99f9350af62256 (patch) | |
tree | 70fe131e37c53ad1afc7783c01ec59bb5a343d0d /libavdevice/pulse_audio_dec.c | |
parent | d9e4783f0629cd99bcdd6a844a83015df3006b38 (diff) |
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 <[email protected]>
Signed-off-by: James Almer <[email protected]>
(cherry picked from commit 58428bef4b2c053f47dce35157fb96833ba8efea)
Signed-off-by: Andreas Rheinhardt <[email protected]>
Diffstat (limited to 'libavdevice/pulse_audio_dec.c')
0 files changed, 0 insertions, 0 deletions