diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-02-26 22:37:04 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-02-27 10:27:42 +0100 |
commit | 1bb7d5ca9fc6dc1b961014255ada03dee40bac31 (patch) | |
tree | 3736121baf635d09deec8b002b7fd81290c47601 /libavfilter/vf_limiter.c | |
parent | 9d7d03ea4598484e2d200976d0064df41186a630 (diff) | |
download | ffmpeg-1bb7d5ca9fc6dc1b961014255ada03dee40bac31.tar.gz |
avformat/mov: Don't use entry[-1] in pointer arithmetic
It is undefined behaviour.
Fixes many failed tests with UBSan and GCC 13 like
"src/libavformat/mov.c:4229:44: runtime error: store to address
0x5572abe20f80 with insufficient space for an object of type 'struct
MOVIndexRange'"
(The line number does not refer to the line where &entry[-1]
is assigned.)
Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavfilter/vf_limiter.c')
0 files changed, 0 insertions, 0 deletions