Skip to content

[nrf fromtree] usb: host: fail device init when the device has no con… - #4475

Open
andu-nordic wants to merge 1 commit into
nrfconnect:mainfrom
andu-nordic:pick/fail-device-no-config
Open

andu-nordic wants to merge 1 commit into
nrfconnect:mainfrom
andu-nordic:pick/fail-device-no-config

Conversation

@andu-nordic

Copy link
Copy Markdown

…figurations

The error was logged but the device initialization returned success, so the device was probed against the class instances without a configuration descriptor and the stack dereferenced a NULL pointer.

Assisted-by: Claude:claude-fable-5-1

Signed-off-by: Fin Maaß f.maass@vogl-electronic.com

(cherry picked from commit 04e4284b4c3d3cd41791d44d7c39361e268b4d02)

…figurations

The error was logged but the device initialization returned success,
so the device was probed against the class instances without a
configuration descriptor and the stack dereferenced a NULL pointer.

Assisted-by: Claude:claude-fable-5-1

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>

(cherry picked from commit 04e4284b4c3d3cd41791d44d7c39361e268b4d02)
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.

4 participants