e_comp_wl: Add missing definitions of hook point 66/261566/1 accepted/tizen/unified/20210722.124802 submit/tizen/20210722.001313
authorSeunghun Lee <shiin.lee@samsung.com>
Wed, 21 Jul 2021 08:12:40 +0000 (17:12 +0900)
committerSeunghun Lee <shiin.lee@samsung.com>
Wed, 21 Jul 2021 08:26:36 +0000 (17:26 +0900)
This probably has been writing memory beyond the actual dimensions of
_e_comp_wl_hooks, which is prone to memory corruption.

Change-Id: I7ac472731d0db22be2476fc164e208041268fd9e

src/bin/e_comp_wl.c

index b7cc9972efbb36805689e2ba938e6a310b7467be..b006bdf794c7fdc6735391c8804aff8f1794a8db 100644 (file)
@@ -75,6 +75,8 @@ static Eina_Inlist *_e_comp_wl_hooks[] =
 {
    [E_COMP_WL_HOOK_SHELL_SURFACE_READY] = NULL,
    [E_COMP_WL_HOOK_SUBSURFACE_CREATE] = NULL,
+   [E_COMP_WL_HOOK_SUBSURFACE_COMMIT_TO_CACHE] = NULL,
+   [E_COMP_WL_HOOK_SUBSURFACE_SYNCHRONIZED_COMMIT] = NULL,
    [E_COMP_WL_HOOK_BUFFER_CHANGE] = NULL,
    [E_COMP_WL_HOOK_CLIENT_REUSE] = NULL,
    [E_COMP_WL_HOOK_BUFFER_SIZE_CHANGE] = NULL,