-
Notifications
You must be signed in to change notification settings - Fork 295
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
backends/winrt/client: handle arbitrary access denied
We had a hard-coded list of services know to return an access denied error when attempting to enumerate characteristics. However, since we don't know Windows internals, the list was not exhaustive and it could also change in the future. Instead, we can just check for the access denied error and skip any service that returns that error which should also handle additional services we don't know about yet. Fixes: #1291
- Loading branch information
Showing
2 changed files
with
19 additions
and
27 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