commit | 81f4596c39703adc6e1b2f7800aaffc2d1074fb6 | [log] [tgz] |
---|---|---|
author | Jack Yu <jackcwyu@google.com> | Tue Aug 17 22:16:53 2021 +0800 |
committer | Jack Yu <jackcwyu@google.com> | Wed Aug 25 22:43:28 2021 +0800 |
tree | 27ebd014d54b7bd445872e3ab530a96a2ee20d93 | |
parent | 2266b77c6d774fa308825409aaebad0e463b0f5f [diff] |
pthread_mutex_destroy is called multiple times with the same mutex GKI_exit_task is not protected from being called multiple times with the same task_id. Use OSrdyTbl state to prevent double release of the mutex. Bug: 196515013 Test: nfc on/off Change-Id: I9d1b36f33b6a8acba94eab0d4c2cd13ea16be80f