hselasky b44a9daf13 Fix a possible memory use after free and leak situation associated
with USB device detach when using character device handles. This also
includes LibUSB. It turns out that "usb_close()" cannot always get a
reference to clean up its USB transfers and such, if called during the
kernel USB device detach.

Analysis by:	hselasky @
Reported by:	Juergen Lock <nox@jelal.kn-bremen.de>
MFC after:	1 week
2014-01-17 10:35:18 +00:00
..
2013-08-26 17:38:36 +00:00
2013-09-04 18:42:05 +00:00
2013-10-29 06:37:27 +00:00
MFC
2013-02-26 21:09:35 +00:00
2013-10-29 11:17:49 +00:00
2013-02-19 18:22:25 +00:00
2013-10-29 11:17:49 +00:00
2013-12-29 18:44:12 +00:00
2013-08-28 14:49:36 +00:00
2013-10-28 23:34:05 +00:00
2013-12-07 22:25:07 +00:00
2013-10-28 23:34:05 +00:00
2013-02-19 19:25:50 +00:00
2013-07-07 19:47:22 +00:00
2014-01-16 00:20:42 +00:00
2013-05-10 16:41:26 +00:00
2013-09-05 23:14:27 +00:00
2013-10-08 19:07:48 +00:00
2013-10-29 11:17:49 +00:00
2013-06-17 20:11:04 +00:00
2013-11-01 21:21:14 +00:00
2013-10-29 11:17:49 +00:00
2013-08-19 05:48:42 +00:00
2013-11-27 08:39:48 +00:00
2013-05-10 16:41:26 +00:00
2012-10-10 08:36:38 +00:00
2014-01-15 12:35:28 +00:00
2013-10-29 11:17:49 +00:00
2013-07-27 20:47:01 +00:00