diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2025-03-14 02:58:33 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2025-03-17 03:26:07 +0100 |
commit | 60f49f4d92356e3270903a53db087a7c3e11b7d1 (patch) | |
tree | 104b8981ea85d3e5cdfde29e9ea39f37ad36aad4 /libavutil/vulkan_functions.h | |
parent | be7642b198c51e65dc7a1fc4ff1f68d29cd6dc54 (diff) | |
download | ffmpeg-60f49f4d92356e3270903a53db087a7c3e11b7d1.tar.gz |
avcodec/qdm2: Use explicit overread checks instead of implicit ones
If there were not enough data, checksum_size would be read
as zero (due to the implicit checks of the bytestream2 API)
and run into a "data block size invalid" error. Erroring out
earlier via "not enough extradata" is better.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavutil/vulkan_functions.h')
0 files changed, 0 insertions, 0 deletions