CVSROOT: /cvs Module name: src Changes by: [email protected] 2017/05/10 11:35:40
Modified files:
sys/dev/usb : usbdi.c
Log message:
It is unsafe to dereference ``xfer'' after calling the callback as it
might free it.
Prevent a use-after-free in various aynchronous cases. Found while
looking at another user-after-free pointed out by ehrhardt@.
Committing now to find if other drivers rely on this use-after-free.
tb@ confirmed ubcmtp(4) is now fixed.
