Re: [Mesa-dev] [PATCH Mesa] egl/wayland: check drmGetMagic for failure

2016-08-24 Thread Emil Velikov
On 10 July 2016 at 23:26, Eric Engestrom wrote: > Coverity (CovID 1255672) noticed that all the other calls to drmGetMagic were > checked for failure, but not this one. Fix this, and return before an invalid > magic token is used to authenticate the device. > > Signed-off-by:

[Mesa-dev] [PATCH Mesa] egl/wayland: check drmGetMagic for failure

2016-07-10 Thread Eric Engestrom
Coverity (CovID 1255672) noticed that all the other calls to drmGetMagic were checked for failure, but not this one. Fix this, and return before an invalid magic token is used to authenticate the device. Signed-off-by: Eric Engestrom ---