marcus905 / libnfc

Automatically exported from code.google.com/p/libnfc
GNU Lesser General Public License v3.0
0 stars 0 forks source link

acr122_usb doesn't check usb_open result #245

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
gdb$ bt
#0  0x00007ffff79badf4 in usb_close () from /usr/lib64/libusb-0.1.so.4
#1  0x00007ffff7bc6483 in ?? () from /usr/lib64/libnfc.so.4
#2  0x00007ffff7bc7d80 in nfc_list_devices () from /usr/lib64/libnfc.so.4
#3  0x000055555555508a in main (argc=0x1, argv=0x7fffffffce18) at nfc-list.c:117

Original issue reported on code.google.com by alx...@gmail.com on 30 Mar 2013 at 7:00

Attachments:

GoogleCodeExporter commented 9 years ago
Thank you!
One question before I apply your patch:
why did you remove usb_close(udev) from acr122_usb_scan()?

Original comment by yob...@gmail.com on 30 Mar 2013 at 4:10

GoogleCodeExporter commented 9 years ago

Original comment by yob...@gmail.com on 30 Mar 2013 at 5:12

GoogleCodeExporter commented 9 years ago
This issue was closed by revision b950eacfdf14.

Original comment by yob...@gmail.com on 5 Apr 2013 at 1:43