efl_ui_widget: add safety check and prevent infinite loop 43/299943/1
authorPrateek Thakur <prateek.th@samsung.com>
Thu, 12 Oct 2023 09:34:37 +0000 (15:04 +0530)
committerPrateek Thakur <prateek.th@samsung.com>
Thu, 12 Oct 2023 09:34:37 +0000 (15:04 +0530)
commit330a1422342e9d642367ce0535c998b03ed2bb67
tree8b3027fc0975ff8f953813fb045cebd877b00e19
parent9ea051ef55483078272b158f1a51ee61d44a63e7
efl_ui_widget: add safety check and prevent infinite loop

If sdp is null it will be stuck in infite loop as parent object is not
updated. Break from while loop if sdp is null.

ref: DF231003-00328

Change-Id: Ib49a1cef3f1282cab6b692edc737988a1e2e8775
Signed-off-by: Prateek Thakur <prateek.th@samsung.com>
src/lib/elementary/efl_ui_widget.c [changed mode: 0644->0755]