projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14f3ab7
)
elementary: Add NULL check for Elm_Slideshow_Item_Data *item parameter
47/288347/3
accepted/tizen/unified/20230228.052749
author
Hubert Stachowiak
<h.stachowiak@samsung.com>
Wed, 15 Feb 2023 10:19:22 +0000
(11:19 +0100)
committer
Chun
<jykeon@samsung.com>
Fri, 24 Feb 2023 09:48:00 +0000
(09:48 +0000)
Fixes a possible NULL dereference at Evas_Object *obj = WIDGET(item);
Change-Id: I13a6ef8564e26043c4e9e1bd73f45dba205e6a97
src/lib/elementary/elm_slideshow.c
patch
|
blob
|
history
diff --git
a/src/lib/elementary/elm_slideshow.c
b/src/lib/elementary/elm_slideshow.c
index
7b2d781
..
40e7c2e
100644
(file)
--- a/
src/lib/elementary/elm_slideshow.c
+++ b/
src/lib/elementary/elm_slideshow.c
@@
-112,6
+112,9
@@
_on_size_hints_changed(void *data,
static void
_item_realize(Elm_Slideshow_Item_Data *item)
{
+ //TIZEN_ONLY(20230215) elementary: Add NULL check for Elm_Slideshow_Item_Data *item parameter
+ ELM_SLIDESHOW_ITEM_CHECK_OR_RETURN(item);
+ //
Elm_Slideshow_Item_Data *_item_prev, *_item_next;
Evas_Object *obj = WIDGET(item);
int ac, bc, lc, ic = 0;