Re: [Mesa-dev] [PATCH] spirv: Properly size the src[] array.

2016-05-16 Thread Jason Ekstrand
On Mon, May 16, 2016 at 12:50 PM, Matt Turner wrote: > Operations like nir_op_bitfield_insert have four arguments, leading to > memory corruption. > > Found by Coverity (CID 1358582). > --- > src/compiler/spirv/spirv_to_nir.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

[Mesa-dev] [PATCH] spirv: Properly size the src[] array.

2016-05-16 Thread Matt Turner
Operations like nir_op_bitfield_insert have four arguments, leading to memory corruption. Found by Coverity (CID 1358582). --- src/compiler/spirv/spirv_to_nir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/spirv/spirv_to_nir.c b/src/compiler/spirv/spirv_to_nir