]> git.pld-linux.org Git - packages/opensc.git/blob - opensc-segv.patch
- fix for SEGV
[packages/opensc.git] / opensc-segv.patch
1 --- opensc-0.7.0/src/libopensc/card-default.c.orig      Thu May  2 15:55:06 2002
2 +++ opensc-0.7.0/src/libopensc/card-default.c   Tue Mar 11 15:17:27 2003
3 @@ -58,6 +58,7 @@
4                 apdu.datalen = 0;
5                 apdu.lc = 0;
6                 apdu.le = 256;
7 +               apdu.resp = &rbuf;
8                 apdu.resplen = sizeof(rbuf);
9                 r = sc_transmit_apdu(card, &apdu);
10                 SC_TEST_RET(card->ctx, r, "APDU transmit failed");
This page took 0.043061 seconds and 4 git commands to generate.