Re: [Mesa-dev] [PATCH] egl: android: Fix potential use of unitialized variable

2017-07-05 Thread Emil Velikov
On 5 July 2017 at 16:08, Eric Engestrom wrote: > On 5 July 2017 15:57:10 BST, Tomasz Figa wrote: >> If dri2_setup_extensions() fails, the "err" variable would not be >> assigned >> causing the error path to access an unitialized variable. Fix it by >> assigning an error message. >> >> Signed-off-

Re: [Mesa-dev] [PATCH] egl: android: Fix potential use of unitialized variable

2017-07-05 Thread Eric Engestrom
On 5 July 2017 15:57:10 BST, Tomasz Figa wrote: > If dri2_setup_extensions() fails, the "err" variable would not be > assigned > causing the error path to access an unitialized variable. Fix it by > assigning an error message. > > Signed-off-by: Tomasz Figa Reviewed-by: Eric Engestrom > --- >

[Mesa-dev] [PATCH] egl: android: Fix potential use of unitialized variable

2017-07-05 Thread Tomasz Figa
If dri2_setup_extensions() fails, the "err" variable would not be assigned causing the error path to access an unitialized variable. Fix it by assigning an error message. Signed-off-by: Tomasz Figa --- src/egl/drivers/dri2/platform_android.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(