forked from project-chip/connectedhomeip
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix use-after-free in AndroidDeviceControllerWrapper (project-chip#22280
) * Fix use-after-fre in AndroidDeviceControllerWrapper - Some JNI array refererences we used beyond their live scope in init of the `AndroidDeviceControllerWrapper`, causing either crashes or errors, in probabilistic situations (not easily reproducible, but seen in larger scale testing) Fixes: project-chip#22279 This PR: - Ensures a copy exists of the originally "passed by JNI reference" data, up to the point it is no longer used, for NOC, ICAC, RCAC and IPK. Testing done: - Integrations test pass - Testing done also in field trials by some participants * Restyled
- Loading branch information
1 parent
a8ff05c
commit 988fc77
Showing
2 changed files
with
32 additions
and
4 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