Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simultaneous BLE pairings getting the same slot in keys structure #22265

Closed
fnde-ot opened this issue Jan 28, 2020 · 0 comments · Fixed by #22234
Closed

Simultaneous BLE pairings getting the same slot in keys structure #22265

fnde-ot opened this issue Jan 28, 2020 · 0 comments · Fixed by #22234
Assignees
Labels
area: Bluetooth bug The issue is a bug, or the PR is fixing a bug priority: medium Medium impact/importance bug

Comments

@fnde-ot
Copy link
Collaborator

fnde-ot commented Jan 28, 2020

Describe the bug
When a BLE pairing request comes in while another pairing is in progress, it is sometimes is assigned the same entry in keys structure, resulting in messed up settings being persisted.

This is due to a bad check when looking for a free slot in the key_pool.

See #22234

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Bluetooth bug The issue is a bug, or the PR is fixing a bug priority: medium Medium impact/importance bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants