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)
committerOssama Othman <ossama.othman@intel.com>
Fri, 19 Apr 2013 22:59:49 +0000 (15:59 -0700)
commit67baa8f84e72ccc1eff793989fbe33888a0438d1
treeb37fbf4ae2cd2a13ef6b702a75ec1bab7868370a
parent43cf7323af819b5c2158e1600f8c23a827486be5
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