CVSROOT: /cvs Module name: src Changes by: [email protected] 2020/03/16 10:12:43
Modified files:
sys/dev/usb : umidi.c
Log message:
Prevent a NULL derefence in alloc_all_endpoints_fixed_ep()
when no IO endpoints were found. Coverity CID 1453263, 1453156
Check return value of usbd_interface2endpoint_descriptor() in
alloc_all_endpoints_yamaha() as it may return NULL which ends up being
dereferenced by the UE_GET_XFERTYPE() macro. Coverity CID 271356
ok ratchov@
