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

[RP2040] Fix null dereference in usb_lld_disable_endpoints #375

Conversation

KarlK90
Copy link
Contributor

@KarlK90 KarlK90 commented Jul 17, 2023

usb_lld_disable_endpoints is called by usbDisableEndpointsI, which already sets all endpoint configurations to NULL before. This will always lead to a hardfault. The fix is simple though, just remove the interaction.

usb_lld_disable_endpoints is called by usbDisableEndpointsI, which
already sets all endpoint configurations to NULL before. This will
always lead to a hardfault. The fix is simple though, just remove the
interaction.
@fpoussin fpoussin merged commit a52d55a into ChibiOS:chibios-21.11.x Jul 17, 2023
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.

2 participants