Re: [PATCH] compositor-drm: Don't try and scan out a SHM buffer directly

2012-09-14 Thread Chris Wilson
On Fri, 14 Sep 2012 23:08:55 +0100, Rob Bradford wrote: > From: Rob Bradford > > gbm_bo_import will fail to produce a valid bo since the buffer is an SHM > buffer. This cause a crash when the NULL bo returned by gbm_bo_import is > dereferenced later. So since gbm_bo_import() is already verifyin

[PATCH] compositor-drm: Don't try and scan out a SHM buffer directly

2012-09-14 Thread Rob Bradford
From: Rob Bradford gbm_bo_import will fail to produce a valid bo since the buffer is an SHM buffer. This cause a crash when the NULL bo returned by gbm_bo_import is dereferenced later. Signed-off-by: Rob Bradford --- src/compositor-drm.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/s