commit | 0140406cebe07aeb749eee8af1ef24f66e866c04 | [log] [tgz] |
---|---|---|
author | Alisher Alikhodjaev <alisher@google.com> | Thu Nov 04 17:28:17 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Thu Nov 04 17:28:17 2021 +0000 |
tree | 051e625ccc49a3bddf5823cde978c6c6ba9d28f1 | |
parent | 080280f92c040e35beafe73056f83da3fa7fba4a [diff] | |
parent | 55f66d68158f4fa77c74d9d279cb9a5faecdcdf7 [diff] |
Use after free in phTmlNfc_TmlThread am: 647f3fcc75 am: 55f66d6815 Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/nxp/nfc/+/16089296 Change-Id: I1f80ff3d7e8e208a87bae613d8e007aa35091702
diff --git a/halimpl/tml/phTmlNfc.cc b/halimpl/tml/phTmlNfc.cc index b3135c1..52140ea 100644 --- a/halimpl/tml/phTmlNfc.cc +++ b/halimpl/tml/phTmlNfc.cc
@@ -152,7 +152,7 @@ /* Clean up all the TML resources if any error */ if (NFCSTATUS_SUCCESS != wInitStatus) { /* Clear all handles and memory locations initialized during init */ - phTmlNfc_CleanUp(); + phTmlNfc_Shutdown_CleanUp(); } return wInitStatus;