CVSROOT:        /cvs
Module name:    src
Changes by:     mgloc...@cvs.openbsd.org        2020/09/02 06:36:12

Modified files:
        sys/dev/usb    : ugen.c usb.c 

Log message:
Don't rely on wTotalLength for usbd_get_cdesc() malloc/free but on the
actual length which has been allocated.  We saw cases where the
wTotalLength value is changing on a second read, e.g. when a USB device
was waked up from sleep mode.

ok mpi@

Reply via email to