forked from project-chip/connectedhomeip
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IM]Fix leaked readClient in onFabricRemoved call (project-chip#37199)
* Fix leaked readClient in onFabricRemoved When ReadClient::Close is called from onFabricRemove in InteractionModel Engine, readClient is destoryed and becomes not valid so that readClient->GetNextClient() will be use-after-free. * Restyled by clang-format * address comments * Update TestRead.cpp Co-authored-by: Boris Zbarsky <[email protected]> * Clean up namespace in TestRead --Remove unnecessary chip::Test and chip::app and app namespace Restyled by clang-format * address comments --------- Co-authored-by: Restyled.io <[email protected]> Co-authored-by: Boris Zbarsky <[email protected]>
- Loading branch information
1 parent
39fc790
commit 34ba6ec
Showing
3 changed files
with
890 additions
and
923 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.