Fix ReuseRenderer issue when renderer is nullptr 18/267418/3
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:23:39 +0000 (16:23 +0900)
commit644ead53dba526bc47a03c82de703e38b3a82dce
tree455d9318ffffd2bec2aac3e09af640c34f134beb
parent64586be2c793a2743279d613b485c24f45f74327
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.

TODO : need to make UTC

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