aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/hwcontext.h
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-02 10:09:56 +0200
commitffd216b5ed79e5d8c5d555a4a3762b78c2a6188c (patch)
treef953e9cc6408bc309613bdee0eef4b6b52c4bf27 /libavutil/hwcontext.h
parentff8a49d4b06b6ad3a4463ebc0980c74abbda2597 (diff)
downloadffmpeg-ffd216b5ed79e5d8c5d555a4a3762b78c2a6188c.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 'libavutil/hwcontext.h')
0 files changed, 0 insertions, 0 deletions