Skip to content
Commit 2dc7c5a4 authored by Johann Fischer's avatar Johann Fischer Committed by Kumar Gala
Browse files

usb: usb_descriptor: fix null pointer dereferences



Check if usb_cfg_data pointer was initialized
before endpoint descriptor section is processed.

Coverity-CID: 203473
Fixes: #18423

Signed-off-by: default avatarJohann Fischer <j.fischer@phytec.de>
parent ca45140c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment