Fix cases of undefined behavior found by ubsan.
commit831aa4662588ca87829e9696a552444604b9a056
authorJiří Zárevúcky <jiri.zarevucky@nic.cz>
Tue, 26 Jun 2018 23:06:11 +0000 (27 01:06 +0200)
committerJiří Zárevúcky <jiri.zarevucky@nic.cz>
Tue, 26 Jun 2018 23:16:12 +0000 (27 01:16 +0200)
treee4f2fc8aab0df6929e6d61bf1ea4eea0998b2df8
parent70fae4e234e6148cb91bf67a329949ac7f16b494
Fix cases of undefined behavior found by ubsan.
uspace/drv/bus/usb/xhci/endpoint.c
uspace/lib/c/generic/ubsan.c
uspace/lib/drv/generic/remote_usb.c
uspace/lib/usb/include/usb/request.h
uspace/lib/usbhost/src/usb2_bus.c