mirror of https://github.com/FFmpeg/FFmpeg.git
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>release/7.0
parent
9d7d03ea45
commit
1bb7d5ca9f
1 changed files with 6 additions and 5 deletions
Loading…
Reference in new issue