mirror of https://gitee.com/openkylin/linux.git
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:
|
||
---|---|---|
.. | ||
Makefile | ||
dfu.c | ||
i1480-dfu.h | ||
mac.c | ||
phy.c | ||
usb.c |