projects
/
platform
/
adaptation
/
libtdm-drm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35d5c58
)
Fix deref after null
74/296774/1
accepted/tizen_8.0_unified
tizen_8.0
accepted/tizen/8.0/unified/20231005.092500
accepted/tizen/unified/20230808.011407
tizen_8.0_m2_release
author
Changyeon Lee
<cyeon.lee@samsung.com>
Fri, 4 Aug 2023 06:18:32 +0000
(15:18 +0900)
committer
Changyeon Lee
<cyeon.lee@samsung.com>
Fri, 4 Aug 2023 06:18:32 +0000
(15:18 +0900)
Change-Id: I51601c7bc239070ce26c6200aa479a156761cf0a
src/tdm_drm_hwc.c
patch
|
blob
|
history
diff --git
a/src/tdm_drm_hwc.c
b/src/tdm_drm_hwc.c
index
0645634
..
34c21a8
100644
(file)
--- a/
src/tdm_drm_hwc.c
+++ b/
src/tdm_drm_hwc.c
@@
-436,6
+436,7
@@
_drm_hwc_apply_policy(tdm_drm_hwc *hwc_data , hal_tdm_hwc_window **composited_wn
composited_list[i]->lzpos = ZPOS_VIDEO1;
continue;
case HAL_TDM_HWC_WIN_COMPOSITION_CURSOR:
+ if (!output_data->cursor_layer) break;
composited_list[i]->lzpos = output_data->cursor_layer->zpos;
continue;
case HAL_TDM_HWC_WIN_COMPOSITION_DEVICE: