Skip to content
Commit c1860326 authored by Johann Fischer's avatar Johann Fischer Committed by Carles Cufí
Browse files

drivers: udc: avoid NULL pointer dereferencing if endpoint is invalid



Immediately return NULL if endpoint configuration is not available.

Signed-off-by: default avatarJohann Fischer <johann.fischer@nordicsemi.no>
parent e9bab613
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment