diff options
author | Andreas Rheinhardt <[email protected]> | 2020-01-23 17:08:27 +0100 |
---|---|---|
committer | James Almer <[email protected]> | 2020-01-26 12:41:31 -0300 |
commit | 58428bef4b2c053f47dce35157fb96833ba8efea (patch) | |
tree | 29e92e8ef993e5cb3f02ed4d23bb14b1938e5df1 /libavutil/aes.c | |
parent | 6e6b34917e0717e8844b962cfa413e71f9cdb72d (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]>
Diffstat (limited to 'libavutil/aes.c')
0 files changed, 0 insertions, 0 deletions