commit | 254ee18c040ee9a347404add5df8159ce8f0b0e9 | [log] [tgz] |
---|---|---|
author | Kathan Shukla <kathan@google.com> | Thu Oct 22 12:08:22 2020 -0700 |
committer | Kathan Shukla <kathan@google.com> | Thu Oct 22 12:14:10 2020 -0700 |
tree | 52c6f1e9d24700c4e4e21085b6f76a24e895b97a | |
parent | ce32684cd8aee90e49eb450587bbe9545e14264f [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
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.