projects
/
platform
/
core
/
system
/
system-popup.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55a6ef0
)
common: Add pointer checking to avoid invalid pointer access
36/318536/2
accepted/tizen_unified
accepted/tizen_unified_x
accepted/tizen_unified_x_asan
tizen
accepted/tizen/unified/20250123.054020
accepted/tizen/unified/x/20250123.071407
accepted/tizen/unified/x/asan/20250211.003343
author
Yunhee Seo
<yuni.seo@samsung.com>
Mon, 20 Jan 2025 05:55:17 +0000
(14:55 +0900)
committer
Yunhee Seo
<yuni.seo@samsung.com>
Mon, 20 Jan 2025 11:48:47 +0000
(20:48 +0900)
To avoid invalid dereferencing, handling code is necessary.
Checking pointer parameter is added.
Change-Id: If7ac927039932b122fed927206add221c1e464b8
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
src/common/popup-ui-normal.c
patch
|
blob
|
history
diff --git
a/src/common/popup-ui-normal.c
b/src/common/popup-ui-normal.c
index edf7edfc910e67ad28b5a143dabdef5390888768..baef2f0a4e2fbd4b5f49b96f31a490ee873793b2 100644
(file)
--- a/
src/common/popup-ui-normal.c
+++ b/
src/common/popup-ui-normal.c
@@
-28,7
+28,8
@@
void event_back_key_up(void *data, Evas_Object *obj, void *event_info)
win = get_window();
if (win) {
- _D("Unregister event back key. ops->name=%s", ops->name);
+ if (ops)
+ _D("Unregister event back key. ops->name=%s", ops->name);
eext_object_event_callback_del(obj, EEXT_CALLBACK_BACK, event_back_key_up);
}