mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-21 19:53:59 +08: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 |