Re: [Mesa-dev] [PATCH] i965: Check result of make_surface() for miptree_create

2018-04-10 Thread Andrea Azzarone
CCing: Jason Ekstrand and Topi Pohjolainen. 2018-04-09 13:36 GMT+02:00 : > From: Andrea Azzarone > > Since make_surface() can fail we need to check the result before > dereferencing it. > --- > src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 3 +++ >

[Mesa-dev] [PATCH] i965: Check result of make_surface() for miptree_create

2018-04-10 Thread azzaronea
From: Andrea Azzarone Since make_surface() can fail we need to check the result before dereferencing it. --- src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mesa/drivers/dri/i965/intel_mipmap_tree.c

[Mesa-dev] [PATCH] i965: Check result of make_surface() for miptree_create

2018-04-09 Thread azzaronea
From: Andrea Azzarone Since make_surface() can fail we need to check the result before dereferencing it. --- src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mesa/drivers/dri/i965/intel_mipmap_tree.c