https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231264
--- Comment #1 from Ludovic Rousseau ---
Created attachment 197047
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=197047&action=edit
Correctly et the context
--
You are receiving this mail because:
You are the assignee for the
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231264
--- Comment #2 from Ludovic Rousseau ---
The code ctx = GET_CONTEXT(NULL); is also used in
libusb_bulk_transfer() at
https://github.com/freebsd/freebsd/blob/master/lib/libusb/libusb10_io.c#L588
and
libusb_interrupt_transfer() at
https://
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231322
Bug ID: 231322
Summary: libusb_bulk_transfer() does not fail (with
LIBUSB_ERROR_NO_DEVICE) if the device is not more
present
Product: Base System
Version: C
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231264
Hans Petter Selasky changed:
What|Removed |Added
Status|New |In Progress
--- Comment #3 f
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231322
--- Comment #1 from Ludovic Rousseau ---
I propose the attached patch.
It works for me.
--
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-usb@freebsd.org mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231322
--- Comment #2 from Ludovic Rousseau ---
Created attachment 197049
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=197049&action=edit
Check the USB device is still present
--
You are receiving this mail because:
You are the assi
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231264
--- Comment #4 from Ludovic Rousseau ---
The patch does not fix the problem for libusb10_do_transfer_cb().
Only for the 2 other uses of GET_CONTEXT(NULL).
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231322
--- Comment #3 from Hans Petter Selasky ---
See updated patch on Bug 231076 .
--
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-usb@freebsd.org mailing list
h
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231322
Hans Petter Selasky changed:
What|Removed |Added
Resolution|--- |DUPLICATE
CC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231264
Hans Petter Selasky changed:
What|Removed |Added
Attachment #197047|0 |1
is obsolete|
10 matches
Mail list logo