Re: [Mesa-dev] [PATCH] radeonsi: fix an out-of-bounds read reported by ASAN

2018-11-16 Thread Marek Olšák
Reviewed-by: Marek Olšák On Fri, Nov 16, 2018, 12:33 PM Nicolai Hähnle From: Nicolai Hähnle > > We read 4 values out of sample_locs_8x, so make sure the array is > big enough. > > Fixes: ac76aeef20 ("radeonsi: switch back to standard DX sample positions") > --- > src/gallium/drivers/radeonsi/s

[Mesa-dev] [PATCH] radeonsi: fix an out-of-bounds read reported by ASAN

2018-11-16 Thread Nicolai Hähnle
From: Nicolai Hähnle We read 4 values out of sample_locs_8x, so make sure the array is big enough. Fixes: ac76aeef20 ("radeonsi: switch back to standard DX sample positions") --- src/gallium/drivers/radeonsi/si_state_msaa.c | 4 1 file changed, 4 insertions(+) diff --git a/src/gallium/dri