aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/vulkan_functions.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2025-03-14 19:10:57 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2025-03-17 03:46:00 +0100
commit2742de0e4a46c9c824fb8ab4cc3013c4988238e3 (patch)
treee17a9b22872beec28ef28b097956499e6eca73cf /libavutil/vulkan_functions.h
parent60f49f4d92356e3270903a53db087a7c3e11b7d1 (diff)
downloadffmpeg-2742de0e4a46c9c824fb8ab4cc3013c4988238e3.tar.gz
avcodec/mpeg12dec: Use saturated addition when combining error_count
Fixes undefined integer overflows. The overflows could always happen, yet before 4d8b706b1d33e75eb30b289c152280d4535c40e6 it was not undefined because the code implicitly used atomic types, for which signed integer overflow is defined. Reported-by: Kacper Michajlow <kasper93@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavutil/vulkan_functions.h')
0 files changed, 0 insertions, 0 deletions