Package: opensc
Version: 0.13.0-3
Severity: normal

Dear Maintainer,

when using opensc-pkcs11.so with ssh, ssh dumps a core:
$ ssh -I opensc-pkcs11.so florath@10.0.0.25
Segmentation fault (core dumped)

gdb /usr/bin/ssh core.4318 
GNU gdb (GDB) 7.6.2 (Debian 7.6.2-1)
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/ssh...(no debugging symbols found)...done.
[New LWP 4318]

warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

warning: no loadable sections found in added symbol-file system-supplied DSO at 
0x7fffb9945000
Core was generated by `ssh -I opensc-pkcs11.so florath@10.0.0.25'.
Program terminated with signal 11, Segmentation fault.
#0  0x00007f1f01abe7df in ?? () from /usr/lib/x86_64-linux-gnu/opensc-pkcs11.so
(gdb) bt
#0  0x00007f1f01abe7df in ?? () from /usr/lib/x86_64-linux-gnu/opensc-pkcs11.so
#1  0x00007f1f01ab2e20 in ?? () from /usr/lib/x86_64-linux-gnu/opensc-pkcs11.so
#2  0x00007f1f01ab3068 in ?? () from /usr/lib/x86_64-linux-gnu/opensc-pkcs11.so
#3  0x00007f1f01aaeb27 in ?? () from /usr/lib/x86_64-linux-gnu/opensc-pkcs11.so
#4  0x00007f1f0491a79e in ?? ()
#5  0x00007f1f048e1ac3 in ?? ()
#6  0x00007f1f03498995 in __libc_start_main (main=0x7f1f048dfb80, argc=4, 
ubp_av=0x7fffb98e6b38, init=<optimized out>, fini=<optimized out>, 
rtld_fini=<optimized out>, stack_end=0x7fffb98e6b28)
    at libc-start.c:276
#7  0x00007f1f048e22dc in ?? ()

The expected outcome is: ssh should not dump a core.

Some facts:
o 'Fresh' jessie installation - about two days old.
o The smart card works within thunderbird-24.3.0 do encrypt, decrypt and sign 
emails (mainstream)
o The following commands work fine and gave the expected result:
  $ opensc-tool --list-readers
  $ opensc-tool --name
  $ pkcs11-tool --list-slots --module 
/usr/local/lib64/libpkcs11tcos3NetKey_amd64.so.1.4.0.3
  $ pkcs15-tool --list-certificates
  $ pkcs15-tool --list-keys
  $ pkcs15-tool --list-pins
  $ pkcs15-tool --list-certificates
  $ pkcs15-tool --read-certificate 45 | openssl x509 -noout -text


Kind regards - Andreas


-- System Information:
Debian Release: jessie/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.12-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages opensc depends on:
ii  libc6              2.17-97
ii  libreadline6       6.2+dfsg-0.1
ii  libssl1.0.0        1.0.1f-1
ii  multiarch-support  2.17-97
ii  zlib1g             1:1.2.8.dfsg-1

opensc recommends no packages.

opensc suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to