Key import segfault in libgcrypt

Hanno Böck hanno at hboeck.de
Wed Apr 2 10:41:05 CEST 2014


Hello,

On my system if I try to import this key
http://pgp.mit.edu/pks/lookup?op=get&search=0x98EEB6F7D87171CF
with gnupg it segfaults.

Backtrace (see below) indicates that the crash happens somewhere in
libgcrypt, so I'm posting it here.

My libgcrypt version is 1.6.1, gnupg is 2.0.22.

I can reproduce it on another system with libgcrypt 1.5.3. Both are
Gentoo.

Can anyone else reproduce? Any more info needed?

cu, Hanno Böck

Backtrace:
0x00007ffff731c130 in _gcry_mpi_get_flag ()
from /usr/lib64/libgcrypt.so.20 (gdb) bt
#0  0x00007ffff731c130 in _gcry_mpi_get_flag ()
from /usr/lib64/libgcrypt.so.20 #1  0x00007ffff7286509 in
do_vsexp_sscan () from /usr/lib64/libgcrypt.so.20 #2
0x00007ffff7287aac in _gcry_sexp_vbuild ()
from /usr/lib64/libgcrypt.so.20 #3  0x00007ffff7281382 in
gcry_sexp_build () from /usr/lib64/libgcrypt.so.20 #4
0x0000000000432fba in pk_verify () #5  0x000000000042e1d8 in do_check
() #6  0x000000000042efc2 in check_key_signature2 () #7
0x000000000042f1bb in check_key_signature () #8  0x000000000044b526 in
import_one.isra () #9  0x000000000044d22d in import ()
#10 0x000000000044dd15 in import_keys_internal ()
#11 0x000000000044de7c in import_keys ()
#12 0x000000000040b77c in main ()



-- 
Hanno Böck
http://hboeck.de/

mail/jabber: hanno at hboeck.de
GPG: BBB51E42
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: </pipermail/attachments/20140402/2ffcffaf/attachment.sig>


More information about the Gcrypt-devel mailing list