aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/hwcontext_videotoolbox.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-07-24 05:43:12 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-07-28 22:26:54 +0200
commitc2d853c1aae22bbc7d9905c43a9f16cb2ba3ba33 (patch)
tree7cb03d16d4e9fb45042362cec73dccfb90354c22 /libavutil/hwcontext_videotoolbox.h
parentf0ed8de1d6a87648ba71ed05a338ab69aac0ac50 (diff)
downloadffmpeg-c2d853c1aae22bbc7d9905c43a9f16cb2ba3ba33.tar.gz
avformat/mov: Fix crash with too big STSZ atoms
mov_read_stsz() did not ensure that every bit of a buffer is addressable by an int as is required by the get_bits API, leading to a crash in ticket #9344. Fix this by restricting the size more thoroughly. The file from said ticket will then be considered invalid; in the future, we might read and process the data in chunks to actually support such files. Fixes ticket #9344. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavutil/hwcontext_videotoolbox.h')
0 files changed, 0 insertions, 0 deletions