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

Fixed a crash in the mac part of hidapi. #27

Closed

Conversation

schneider-engineering
Copy link

hidapi crashes with SIGSEGV/SIGBUS when IOHIDManagerOpen() doesn't return kIOReturnSuccess

Also see issue #26

Additionally added some error output for the return code of
IOHIDManagerOpen()

… issue signal11#26

Additionally added some error output for the return code of
IOHIDManagerOpen()
@signal11
Copy link
Owner

I can see how this will make it not crash, but a failure of IOHidManagerOpen() is a fairly serious thing. Based on your comments in #26, I'm a bit unclear on whether you think this will actually make anything work (rather than just fail gracefully)?

@vlovich
Copy link

vlovich commented Nov 23, 2011

+1 for failing gracefully

@signal11
Copy link
Owner

See Issue #26 and commit 4a229e2

@signal11 signal11 closed this Jan 12, 2012
erikolofsson pushed a commit to Malterlib/hidapi that referenced this pull request May 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants