Skip to content

pg2-util: don't try to libusb_ref_device a null pointer if hotplug fails - #3

Merged
mutability merged 1 commit into
masterfrom
crash-on-load-fail
Sep 30, 2026
Merged

mutability merged 1 commit into
masterfrom
crash-on-load-fail

Conversation

@mutability

Copy link
Copy Markdown
Collaborator

If hotplug detection of the new usb device after a firmware load fails, and the caller wants to know the new device, don't crash trying to call libusb_ref_device with a null pointer

If hotplug detection of the new usb device after a firmware load fails,
and the caller wants to know the new device, don't crash trying to call
libusb_ref_device with a null pointer
@mutability
mutability merged commit b4a7412 into master Sep 30, 2026
1 check passed
@mutability
mutability deleted the crash-on-load-fail branch September 30, 2026 12:56
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.

1 participant