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

windows_winusb: Bounds check interface for check_valid_interface #568

Closed
wants to merge 1 commit into from

Conversation

leoetlino
Copy link
Contributor

This prevents a nasty out-of-bounds read and a likely crash when
the interface number is invalid.

This prevents a nasty out-of-bounds read and a likely crash when
the interface number is invalid.
@hjelmn hjelmn closed this in 5305df7 Jul 8, 2019
@mcuee mcuee added the windows label Jul 4, 2021
Seneral pushed a commit to Seneral/libusb that referenced this pull request Sep 21, 2021
This prevents a nasty out-of-bounds read and a likely crash when
the interface number is invalid.

Closes libusb#568

Signed-off-by: Nathan Hjelm <hjelmn@me.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants