-
Notifications
You must be signed in to change notification settings - Fork 168
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a use-after-free in client reset when the original RealmCoordinat…
…or is gone `DB::get_encryption_key()` returns a pointer to a buffer owned by the thing which created the DB, which may no longer be valid when we're downloading the new Realm for client reset. This was hit by the "callbacks are seeded with Realm instances even if the coordinator dies" client reset test when running with encrypt all enabled.
- Loading branch information
Showing
2 changed files
with
10 additions
and
1 deletion.
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