-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make errorToCHIPErrorCode safer to use. (#18707)
The old setup was creating CHIP_ERROR instances pointing to filenames with non-static lifetime, which could cause use-after-free. Removes the workaround chip-tool-darwin had for the broken behavior.
- Loading branch information
1 parent
3b9656c
commit 2655291
Showing
2 changed files
with
33 additions
and
30 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