Skip to content
Snippets Groups Projects
user avatar
Faisal Hassan authored
Check if dwc is NULL before accessing dwc->num_ports in the
dwc3_qcom_suspend function. Prevent a potential NULL pointer
dereference when the dwc structure is not properly initialized.

Change-Id: I0e673ddd59946e9c1a67d3de09db78653c0645bc
Signed-off-by: default avatarFaisal Hassan <faisal.hassan@oss.qualcomm.com>
f6a5f951
Name Last commit Last update