Re: [FFmpeg-devel] [PATCH] avcodec/ppc/vp8dsp_altivec: Fix out-of-bounds access

2024-03-14 Thread Sean McGovern
Andreas: On Tue, Mar 12, 2024 at 9:14 PM Andreas Rheinhardt wrote: > > 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

[FFmpeg-devel] [PATCH] avcodec/ppc/vp8dsp_altivec: Fix out-of-bounds access

2024-03-12 Thread Andreas Rheinhardt
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.