1
0
Fork 0
FFmpeg/libavcodec/ppc
Andreas Rheinhardt 09e6840cf7 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>
2024-03-14 22:20:00 +01:00
..
Makefile
asm.S
audiodsp.c
blockdsp.c
fdct.h
fdctdsp.c
fmtconvert_altivec.c
h264chroma_init.c
h264chroma_template.c
h264dsp.c
h264qpel.c
h264qpel_template.c
hevcdsp.c
hevcdsp_template.c
hpeldsp_altivec.c
hpeldsp_altivec.h
idctdsp.c
lossless_audiodsp_altivec.c
lossless_videodsp_altivec.c
mathops.h
me_cmp.c
mpeg4videodsp.c
mpegaudiodsp_altivec.c
mpegvideo_altivec.c
mpegvideoencdsp.c
pixblockdsp.c
svq1enc_altivec.c
vc1dsp_altivec.c
videodsp.c
vorbisdsp_altivec.c
vp3dsp_altivec.c
vp8dsp_altivec.c