-
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.
Fix null-deref crash in OnSessionEstablishmentError. (#14654)
We ended up crashing because mServer->getBleLayerObject()->mBleEndPoint was null. The changes mostly remove the changes from #9845 because those changes made us try to close some random "whatever last BLE endpoint was created", even if it's already closed or has nothing to do with our PASE session. So instead, just do the same thing as we do for CASE establishment and tear down all BLE sessions, if we need to tear down anything at all. The remaining changes are making ReleaseBleConnection private again and removing the broken mBleEndPoint member from BleLayer.
- Loading branch information
1 parent
2a1861e
commit bb0efb9
Showing
6 changed files
with
3 additions
and
9 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
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
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