mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-06-24 08:48:37 +00:00
swscale/ppc: fix LOAD_FILTER overread in VSX path
Part of the yuv2planeX ASAN fix - replace vec_vsx_ld with vec_splats to avoid reading past the filter array. Signed-off-by: Scott Boudreaux <scott@elyanlabs.com>
This commit is contained in:
committed by
michaelni
parent
d4673a97ac
commit
dddc703cc1
@@ -54,7 +54,7 @@
|
||||
} while (0)
|
||||
|
||||
#define LOAD_FILTER(vf,f) {\
|
||||
vf = vec_vsx_ld(joffset, f);\
|
||||
vf = vec_splats(f[j]);\
|
||||
}
|
||||
#define LOAD_L1(ll1,s,p){\
|
||||
ll1 = vec_vsx_ld(xoffset, s);\
|
||||
|
||||
Reference in New Issue
Block a user