forked from Minki/linux
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:
|
||
---|---|---|
.. | ||
i1480 | ||
address.c | ||
allocator.c | ||
beacon.c | ||
driver.c | ||
drp-avail.c | ||
drp-ie.c | ||
drp.c | ||
est.c | ||
hwa-rc.c | ||
ie-rcv.c | ||
ie.c | ||
Kconfig | ||
lc-dev.c | ||
lc-rc.c | ||
Makefile | ||
neh.c | ||
pal.c | ||
radio.c | ||
reset.c | ||
rsv.c | ||
scan.c | ||
umc-bus.c | ||
umc-dev.c | ||
umc-drv.c | ||
uwb-debug.c | ||
uwb-internal.h | ||
uwbd.c | ||
whc-rc.c | ||
whci.c |