diff options
author | Nick Chung <nickchung@google.com> | 2024-03-22 07:51:48 +0000 |
---|---|---|
committer | Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> | 2024-03-27 01:59:05 +0000 |
commit | 0b0207160031d72c4cffb717032f3864bd030f0e (patch) | |
tree | 706ce37861400340db5d042a9ccf045da01b6e24 /lwis_device_spi.c | |
parent | e0794ba1e0db501703ec35e65d7cf332fa5e0af1 (diff) | |
download | lwis-android-gs-shusky-5.15-android15-dp.tar.gz |
Buffer: Fix race condition in enrolled buffer accessandroid-15-beta-3_r0.8android-15-beta-3_r0.7android-15-beta-2_r0.8android-15-beta-2_r0.7android-gs-shusky-5.15-android15-dpandroid-gs-shusky-5.15-android15-betaandroid-gs-akita-5.15-android15-dpandroid-gs-akita-5.15-android15-beta
Accessing enrolled buffers from multiple clients is only
protected by a spinlock, which is a potential risk.
We should add a lock to protect the buffer access process
on multiple LWIS clients because it could be modified by
other processes, such as the disenroll buffer and delete list processes.
Bug: 330457969
Test: CTS, GCA SMOKE
Change-Id: Ib81f95e45afca6638b51cc0dc423561cabfdea7d
Signed-off-by: Nick Chung <nickchung@google.com>
(cherry picked from commit 155aaf52ceb09cbd0765e5c0419d9576969e7389)
Diffstat (limited to 'lwis_device_spi.c')
0 files changed, 0 insertions, 0 deletions