compositor-drm: Don't try and scan out a SHM buffer directly
authorRob Bradford <rob@linux.intel.com>
Fri, 14 Sep 2012 22:02:47 +0000 (23:02 +0100)
committerRob Bradford <rob@linux.intel.com>
Thu, 6 Dec 2012 18:57:44 +0000 (18:57 +0000)
commitc8a2ae4fc91090ef79b2a9280ab8941c08423f11
tree99e9b1f9c2c3dc0feda65f602c5ec9f1138147fd
parent1275859f0778a43cf61ff461deed65bc290802a3
compositor-drm: Don't try and scan out a SHM buffer directly

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 <rob@linux.intel.com>
src/compositor-drm.c