Go to file
Jimmy Shiu e69da0c258 power-libperfmgr: ADPF: fix use-after-free crash
The main problem is the timer thread could be woken after the session
was destroyed. We did have a closed flag which was set in destructor and the flag would be checked before handleMessage accessing the session
instance. To fix the problem, the operations of flag checking and session instance accessing should be guarded by the lock.

Bug: 236674672
Test: manual test
Change-Id: I49a18efbc135b1bc070b101038a8a0bcc6e19fec
(cherry picked from commit 5c75978f530b27bd976d8695ed79acd336c24776)
Merged-In: I49a18efbc135b1bc070b101038a8a0bcc6e19fec
2023-11-24 16:31:32 +00:00
aidl power-libperfmgr: ADPF: fix use-after-free crash 2023-11-24 16:31:32 +00:00
hidl xiaomi: Keep a single clang-format in rootdir 2023-11-13 01:39:53 +01:00
IFAAService IFAAService: Move from FOD to UDFPS naming convention 2022-05-05 18:08:27 +01:00
interfaces interfaces: mtdservice: Initial dump 2022-05-05 10:27:08 +01:00
megvii megvii: Return a char pointer for some stubs instead 2022-06-21 18:33:32 +02:00
sensors xiaomi: Keep a single clang-format in rootdir 2023-11-13 01:39:53 +01:00
.clang-format xiaomi: Keep a single clang-format in rootdir 2023-11-13 01:39:53 +01:00
Android.bp common: Define soong namespace 2020-01-31 19:54:58 -05:00
Android.mk power-libperfmgr: Import power HAL AIDL implementation 2021-04-18 22:38:40 +01:00