diff options
author | Carl Eugen Hoyos <ceffmpeg@gmail.com> | 2022-09-03 22:50:19 +0200 |
---|---|---|
committer | Carl Eugen Hoyos <ceffmpeg@gmail.com> | 2022-10-10 02:58:39 +0200 |
commit | 82479ef6bd107312aa086bab12c29ba4551d544a (patch) | |
tree | c6140e2fa134a8849b0e9630bcb240afce567073 /libavutil/softfloat_ieee754.h | |
parent | 60e87faf7f32a84a0aecf9a2969c7ce89b5e5f29 (diff) | |
download | ffmpeg-82479ef6bd107312aa086bab12c29ba4551d544a.tar.gz |
lavfi/rotate: Avoid undefined behaviour.
Fixes the following integer overflows:
libavfilter/vf_rotate.c:273:13: runtime error: signed integer overflow: 92951468 + 2058533568 cannot be represented in type 'int'
libavfilter/vf_rotate.c:273:37: runtime error: signed integer overflow: 39684 * 54149 cannot be represented in type 'int'
libavfilter/vf_rotate.c:272:13: runtime error: signed integer overflow: 247587320 + 1900985032 cannot be represented in type 'int'
libavfilter/vf_rotate.c:272:37: runtime error: signed integer overflow: 42584 * 50430 cannot be represented in type 'int'
libavfilter/vf_rotate.c:272:50: runtime error: signed integer overflow: 65083 * 52912 cannot be represented in type 'int'
libavfilter/vf_rotate.c:273:50: runtime error: signed integer overflow: 65286 * 38044 cannot be represented in type 'int'
Fixes ticket #9799, different output with different compilers.
Diffstat (limited to 'libavutil/softfloat_ieee754.h')
0 files changed, 0 insertions, 0 deletions