MotoSM6375Devs fork
Find a file
Jimmy Shiu 3478253879
sm6375-common: 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
2024-07-18 20:16:00 +05:30
audio/sku_holi sm7325-common => sm6375-common 2024-07-03 12:56:42 +05:30
bootctrl sm7325-common => sm6375-common 2024-07-03 12:56:42 +05:30
configs sm6375-common: Remove QTI perfd 2024-07-18 20:16:00 +05:30
gps sm7325-common: gps: Don't include cutils/threads.h 2024-03-10 19:24:42 -04:00
gpt-utils sm7325-common => sm6375-common 2024-07-03 12:56:42 +05:30
livedisplay sm7325-common => sm6375-common 2024-07-03 12:56:42 +05:30
location sm7325-common: update location to LA.UM.9.14.r1-20000-LAHAINA.QSSI13.0 2022-09-29 22:21:28 -04:00
media sm7325-common => sm6375-common 2024-07-03 12:56:42 +05:30
overlay-lineage sm7325-common: overlay: Configure aux camera for Aperture 2024-01-24 02:02:54 +00:00
power-libperfmgr sm6375-common: power-libperfmgr: ADPF: fix use-after-free crash 2024-07-18 20:16:00 +05:30
recovery sm7325-common: rootdir: import device specific recovery.rc 2023-02-08 19:14:29 +01:00
resource-overlay sm6375-common: overlay: Drop 6GHz band support 2024-07-16 12:56:42 +05:30
rootdir sm6375-common: init: Drop I/O prefetcher 2024-07-18 20:16:00 +05:30
sepolicy sm6375-common: sepolicy: Allow hal_health_default to access sysfs 2024-07-16 12:56:42 +05:30
wifi sm7325-common => sm6375-common 2024-07-03 12:56:42 +05:30
Android.bp sm8250-common: import bootctrl from LA.UM.9.12.r1-13800-SMxx50.0 2022-02-18 13:27:05 +01:00
Android.mk sm7325-common => sm6375-common 2024-07-03 12:56:42 +05:30
BoardConfigCommon.mk sm6375-common: Adjust kernel cmdline for moto_sm6375 2024-07-16 12:56:42 +05:30
common.mk sm6375-common: Build power-libperfmgr 2024-07-18 20:16:00 +05:30
compatibility_matrix.xml sm7325-common: Update blobs from DUBAI_RETAIL_13_T1RD33.116-33-3_subsidy-DEFAULT_regulatory-DEFAULT_cid50_CFC 2023-06-09 22:41:45 -06:00
config.fs sm8250-common: config.fs: add moto GIDs 2022-02-17 11:32:41 +01:00
device_framework_matrix.xml sm6375-common: FCM: Add missing radio entries 2024-07-16 12:56:42 +05:30
extract-files.sh sm7325-common: Add Motorola info dump script 2023-12-26 22:15:44 -07:00
framework_manifest.xml sm7325-common: Update blobs from DUBAI_RETAIL_13_T1RD33.116-33-3_subsidy-DEFAULT_regulatory-DEFAULT_cid50_CFC 2023-06-09 22:41:45 -06:00
lineage.dependencies sm7325-common => sm6375-common 2024-07-03 12:56:42 +05:30
manifest.xml sm6375-common: init: Drop I/O prefetcher 2024-07-18 20:16:00 +05:30
odm.prop sm8250-common: add common properties from RRA31.Q3-19-19 2022-02-16 23:30:51 +01:00
product.prop sm7325-common: Move BT profiles props to vendor 2022-09-29 22:21:16 -04:00
proprietary-files.txt sm6375-common: init: Drop I/O prefetcher 2024-07-18 20:16:00 +05:30
setup-makefiles.sh sm7325-common => sm6375-common 2024-07-03 12:56:42 +05:30
system.prop sm7325-common: Fix property SELinux denials 2024-04-30 22:55:50 -06:00
update-sha1sums.py sm7325-common => sm6375-common 2024-07-03 12:56:42 +05:30
vendor.prop sm6375-common: Disable HDR related props 2024-07-16 12:56:42 +05:30