diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-03-13 02:10:26 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-03-14 22:20:00 +0100 |
commit | 09e6840cf7a3ee07a73c3ae88a020bf27ca1a667 (patch) | |
tree | 38ff49f5757d7b13bab579ad43e2e7762c940753 /tests/ref/fate/filter-pixdesc-yuv422p16le | |
parent | 8e207bf463618c14a6e5cad882ee7622a303a320 (diff) | |
download | ffmpeg-09e6840cf7a3ee07a73c3ae88a020bf27ca1a667.tar.gz |
avcodec/ppc/vp8dsp_altivec: Fix out-of-bounds access
h_subpel_filters_inner[i] and h_subpel_filters_outer[i / 2]
belong together and the former allows the range 0..6,
so the latter needs to support 0..3. But it has only three
elements. Add another one.
The value for the last element has been guesstimated
from subpel_filters in libavcodec/vp8dsp.c.
This is also intended to fix FATE-failures with UBSan here:
https://fate.ffmpeg.org/report.cgi?time=20240312011016&slot=ppc-linux-gcc-13.2-ubsan-altivec-qemu
Tested-by: Sean McGovern <gseanmcg@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'tests/ref/fate/filter-pixdesc-yuv422p16le')
0 files changed, 0 insertions, 0 deletions