From 7186c2a8d4f376ea05a3835caff28876bf85420e Mon Sep 17 00:00:00 2001 From: Jihoon Kim Date: Fri, 8 Dec 2023 19:33:23 +0900 Subject: [PATCH] e_test_event: prevent crash in aarch64 environment Change-Id: I23f0838f42e4423e3e084e5eb8745698f508effa Signed-off-by: Jihoon Kim --- src/e_test_event.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/e_test_event.cpp b/src/e_test_event.cpp index 657685f..77e376d 100644 --- a/src/e_test_event.cpp +++ b/src/e_test_event.cpp @@ -440,6 +440,8 @@ etRunner::setWinStack(etWin *tw, Eina_Bool above) { Eldbus_Pending *p = NULL; + EINA_SAFETY_ON_NULL_RETURN_VAL(tw, EINA_FALSE); + p = eldbus_proxy_call(dbus.ds_proxy, "SetWindowStack", NULL, @@ -495,6 +497,7 @@ etRunner::setWinTransientFor(etWin *tw_child, Eina_Bool set) { EINA_SAFETY_ON_NULL_RETURN_VAL(tw_child, EINA_FALSE); + EINA_SAFETY_ON_NULL_RETURN_VAL(tw_parent, EINA_FALSE); if (set) tizen_policy_set_transient_for(tzPolicy, -- 2.7.4