Bugzilla – Attachment 48796 Details for
Bug 112964
attaching acr38 card reader makes pcscd crash
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
[patch]
pcsc-lite-hotplug_libusb.patch
pcsc-lite-hotplug_libusb.patch (text/plain), 598 bytes, created by
Sonja Krause-Harder
on 2005-09-05 13:02:29 UTC
(
hide
)
Description:
pcsc-lite-hotplug_libusb.patch
Filename:
MIME Type:
Creator:
Sonja Krause-Harder
Created:
2005-09-05 13:02:29 UTC
Size:
598 bytes
patch
obsolete
>diff -Naur pcsc-lite-1.2.9-beta6.orig/src/hotplug_libusb.c pcsc-lite-1.2.9-beta6/src/hotplug_libusb.c >--- pcsc-lite-1.2.9-beta6.orig/src/hotplug_libusb.c 2004-08-06 14:12:20.000000000 +0200 >+++ pcsc-lite-1.2.9-beta6/src/hotplug_libusb.c 2005-09-05 14:58:46.000000000 +0200 >@@ -372,7 +372,7 @@ > > snprintf(deviceName, sizeof(deviceName), "usb:%04x/%04x:libusb:%s", > dev->descriptor.idVendor, dev->descriptor.idProduct, bus_device); >- deviceName[sizeof(deviceName)] = '\0'; >+ deviceName[sizeof(deviceName) - 1] = '\0'; > > /* find a free entry */ > for (i=0; i<PCSCLITE_MAX_READERS_CONTEXTS; i++)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 112964
:
47934
| 48796