Add null check for raw value 29/220629/1
authorhyunho <hhstark.kang@samsung.com>
Fri, 20 Dec 2019 06:00:56 +0000 (15:00 +0900)
committerhyunho <hhstark.kang@samsung.com>
Fri, 20 Dec 2019 06:00:56 +0000 (15:00 +0900)
Change-Id: Ic6d68f585e0e5ae0aa1a413a58c7e56e88f9b687
Signed-off-by: hyunho <hhstark.kang@samsung.com>
screen_connector_remote_surface_evas/remote_surface_evas.cc

index 2d8cd14..2c7b284 100644 (file)
@@ -471,7 +471,7 @@ void RemoteSurfaceEvas::OnBufferChanged(int type, std::shared_ptr<WlBuffer> tbm,
   if (type != TIZEN_REMOTE_SURFACE_BUFFER_TYPE_TBM)
     return;
 
-  if (tbm.get() == nullptr) {
+  if (tbm.get() == nullptr || tbm->GetRaw() == nullptr) {
       LOGW("Null tbm");
       return;
   }