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

Return from hid_open_path early in case if hid_init fails to avoid crash #555

Merged
merged 2 commits into from
May 15, 2023

Conversation

vitalys
Copy link
Contributor

@vitalys vitalys commented May 15, 2023

Fixes: #547

@mcuee mcuee added the macOS Related to macOS backend label May 15, 2023
mac/hid.c Outdated Show resolved Hide resolved
@Youw Youw changed the title Fix #547: Register global error and exit in case if hid_init failed Return from hid_open_path early in case if hid_init fails to avoid crash May 15, 2023
@Youw Youw merged commit 6e3dd57 into libusb:master May 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
macOS Related to macOS backend
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix: Explicit null dereferenced
3 participants