Re: [Mesa-dev] [PATCH] anv: off-by-one in GetDescriptorSetLayoutSupport

2018-03-20 Thread Lionel Landwerlin
On 19/03/18 22:39, Scott D Phillips wrote: Loop was accessing one more than bindingCount elements from pBindings, accessing uninitialized memory. Fixes: ddc4069122 ("anv: Implement VK_KHR_maintenance3") Reviewed-by: Lionel Landwerlin --- src/intel/vulkan/anv_descriptor_set.c | 2 +- 1 fi

Re: [Mesa-dev] [PATCH] anv: off-by-one in GetDescriptorSetLayoutSupport

2018-03-19 Thread Nanley Chery
On Mon, Mar 19, 2018 at 03:39:25PM -0700, Scott D Phillips wrote: > Loop was accessing one more than bindingCount elements from > pBindings, accessing uninitialized memory. > > Fixes: ddc4069122 ("anv: Implement VK_KHR_maintenance3") > --- > src/intel/vulkan/anv_descriptor_set.c | 2 +- > 1 file

[Mesa-dev] [PATCH] anv: off-by-one in GetDescriptorSetLayoutSupport

2018-03-19 Thread Scott D Phillips
Loop was accessing one more than bindingCount elements from pBindings, accessing uninitialized memory. Fixes: ddc4069122 ("anv: Implement VK_KHR_maintenance3") --- src/intel/vulkan/anv_descriptor_set.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/vulkan/anv_descri