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:
|
||
---|---|---|
.. | ||
dfu | ||
i1480-est.c | ||
Makefile |