Skip to content

Check index when handling get configuration descriptor#8

Open
BinyaminSharet wants to merge 1 commit intonccgroup:masterfrom
BinyaminSharet:master
Open

Check index when handling get configuration descriptor#8
BinyaminSharet wants to merge 1 commit intonccgroup:masterfrom
BinyaminSharet:master

Conversation

@BinyaminSharet
Copy link

When fuzzing the bNumConfiguration field, and setting a big value there, the host may ask for configuration index out of the configuration list bounds, in such cases, umap crashes.

Added default behaviour of returning configuration 0.
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