Fixed to prevent page fault via invalid address. 86/276086/3
authorJoonbum Ko <joonbum.ko@samsung.com>
Thu, 9 Jun 2022 10:04:11 +0000 (19:04 +0900)
committerJoonbum Ko <joonbum.ko@samsung.com>
Wed, 10 Aug 2022 05:00:46 +0000 (14:00 +0900)
commit39609145b0e6ac9c44de22b5f3bd14e40be5f69c
tree7c5bb64512a5fb82af9a468d16802b99038f7157
parent3aafd1eddac8923a8adbd462f263862776045fb2
Fixed to prevent page fault via invalid address.

 - If the last_enq_buffer of wl_egl_surface has a wrong pointer address,
  page fault may occur inside the tbm_surface_internal_is_valid of libtbm.
 - To prevent this problem, it is modified to check in advance from
  the list of buffers of wl_egl_surface.

Change-Id: I459b182e9ed435ce93a3a862251869fb9c7829ad
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
src/tpl_wl_egl_thread.c