opensc -2 package miscompiled

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

opensc -2 package miscompiled

Andreas Jellinghaus-2
Hi Eric,

A co-worker reports a problem with libopensc1 0.9.6-2
but reverting to 0.9.6-1 fixes the issue. the diff
is fine, only documentation related changes.
the error report is:

$ ssh -I 0 root@server
Enter PIN for Private Key:
ssh: card.c:205: sc_transceive: Assertion `recvsize >= 2' failed.
Aborted

any idea what could be different? is there any file
that tells me what your build system was at each compile
time? e.g. different gcc?

or maybe anyone else has an idea what is wrong?

Regards, Andreas
_______________________________________________
opensc-devel mailing list
[hidden email]
http://www.opensc.org/cgi-bin/mailman/listinfo/opensc-devel
Reply | Threaded
Open this post in threaded view
|

Re: opensc -2 package miscompiled

Eric Dorland-4
* Andreas Jellinghaus ([hidden email]) wrote:

> Hi Eric,
>
> A co-worker reports a problem with libopensc1 0.9.6-2
> but reverting to 0.9.6-1 fixes the issue. the diff
> is fine, only documentation related changes.
> the error report is:
>
> $ ssh -I 0 root@server
> Enter PIN for Private Key:
> ssh: card.c:205: sc_transceive: Assertion `recvsize >= 2' failed.
> Aborted
>
> any idea what could be different? is there any file
> that tells me what your build system was at each compile
> time? e.g. different gcc?
>
> or maybe anyone else has an idea what is wrong?
Yes, actually it was reported to me the other day as Debian bug
#322145. There really were no code changes in the -2 release, but I
think -2 was compiled with gcc 4, whereas -1 was compiled with
3.3. Have you heard of problems with opensc compiled with gcc 4?

--
Eric Dorland <[hidden email]>
ICQ: #61138586, Jabber: [hidden email]
1024D/16D970C6 097C 4861 9934 27A0 8E1C  2B0A 61E9 8ECF 16D9 70C6

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS d- s++: a-- C+++ UL+++ P++ L++ E++ W++ N+ o K- w+
O? M++ V-- PS+ PE Y+ PGP++ t++ 5++ X+ R tv++ b+++ DI+ D+
G e h! r- y+
------END GEEK CODE BLOCK------

_______________________________________________
opensc-devel mailing list
[hidden email]
http://www.opensc.org/cgi-bin/mailman/listinfo/opensc-devel

signature.asc (196 bytes) Download Attachment