mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-26 11:40:17 +07:00
4ce362711d
Make sure to check the number of endpoints to avoid dereferencing a
NULL-pointer should a malicious device lack endpoints.
Note that the dereference happens in the cmd and wait_init_done
callbacks which are called during probe.
Fixes:
|
||
---|---|---|
.. | ||
dfu.c | ||
i1480-dfu.h | ||
mac.c | ||
Makefile | ||
phy.c | ||
usb.c |