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

_adapters_from_managed_objects in dbus.py doesn't ensure managedobject entry implements interface. #172

Closed
JOSEPHGILBY opened this issue Oct 30, 2024 · 0 comments · Fixed by #174
Labels
bug Something isn't working

Comments

@JOSEPHGILBY
Copy link
Contributor

Describe the bug
This function only checks that a managed object's path starts with "/org/bluez/hci" and doesn't check that the entry implements the interface org.bluez.Adapter1.

To Reproduce
If you call load() and then try to call adapter_details() when the dbus object server has device interfaces loaded, then devices may get returned instead of adapters.

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant