- fix for SEGV
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 11 Mar 2003 16:16:38 +0000 (16:16 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    opensc-segv.patch -> 1.1

opensc-segv.patch [new file with mode: 0644]

diff --git a/opensc-segv.patch b/opensc-segv.patch
new file mode 100644 (file)
index 0000000..ce17152
--- /dev/null
@@ -0,0 +1,10 @@
+--- opensc-0.7.0/src/libopensc/card-default.c.orig     Thu May  2 15:55:06 2002
++++ opensc-0.7.0/src/libopensc/card-default.c  Tue Mar 11 15:17:27 2003
+@@ -58,6 +58,7 @@
+               apdu.datalen = 0;
+               apdu.lc = 0;
+               apdu.le = 256;
++              apdu.resp = &rbuf;
+               apdu.resplen = sizeof(rbuf);
+               r = sc_transmit_apdu(card, &apdu);
+               SC_TEST_RET(card->ctx, r, "APDU transmit failed");
This page took 0.059408 seconds and 4 git commands to generate.