[Tizen] Fix ReuseRenderer issue when renderer is nullptr 20/267420/2
authorEunki, Hong <eunkiki.hong@samsung.com>
Fri, 3 Dec 2021 04:21:51 +0000 (13:21 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Fri, 3 Dec 2021 07:18:34 +0000 (16:18 +0900)
commit45f1be8a978b237f1f593e4981069faec6a9553b
tree5bb2adee04c160e90a5f81e33ccaec6e63b0c650
parentcd1e39a2b06eb28a5e1fc8d30fbdff66e47c0152
[Tizen] Fix ReuseRenderer issue when renderer is nullptr

When ClippingMode is CLIP_TO_BOUNDING_BOX and it have no children,
we add nullptr SceneGraph::Renderer into renderables.

Previous codes are assume that that renderers are not nullptr
so they just use many of memberfunctions.

This patch fix the dangerous nullptr access.

Change-Id: If04ff5a68ef95c27fbe43166eb64734d681bcdaa
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
dali/internal/update/manager/render-instruction-processor.cpp