tag | e6e08c74f0a82fc72b747dc56bb6283392a2fc79 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Tue Jan 04 19:08:50 2022 -0800 |
object | 3cb6a83630f35d2bc32f901467dc5623f58064cb |
Android security 11.0.0 release 51
commit | 3cb6a83630f35d2bc32f901467dc5623f58064cb | [log] [tgz] |
---|---|---|
author | Kathan Shukla <kathan@google.com> | Thu Oct 22 12:08:22 2020 -0700 |
committer | Anis Assi <anisassi@google.com> | Thu Nov 12 11:47:30 2020 -0800 |
tree | 4b28f495d1a1f5d637c0e51c73f80f1f2dc23c5d | |
parent | 501b2adf4613dfa8c6aee5672b179ac8e639afdc [diff] |
Grpc Graph - fix use after free GrpcGraph initializes StreamSetObserver - which triggers a thread to notify GrpcGraph of termination. If GrpcGraph is destroyed, this will result in use after free. Fix this by enforcing that GrpcGraph object is not destroyed before StreamSetObserver. Bug: 170407229 Test: build, unit test and fuzz test Change-Id: I8b24f72af60c441ebd7a31939769c46589431cfe Merged-In: I8b24f72af60c441ebd7a31939769c46589431cfe (cherry picked from commit 3f53bf0525bd5c21ff6cc3235b93cb26a7866ea8)
Native (C++) code format is required to be compatible with .clang-format file. Run
git clang-format --style=file --extension='h,cpp,cc' HEAD~
Note that clang-format is not desirable for Android java files. Therefore the command line above is limited to specific extensions.