Description of problem: gnupg segfaults when searching for keys in keyserver if the key contains a non-ASCII UTF-8 character Version-Release number of selected component (if applicable): 1.4.4 How reproducible: always Steps to Reproduce: 1. export LANG=en_US.UTF-8 2. gpg --keyserver pgp.mit.edu --search-key é (the last character is e acute) 3. Actual results: gpg: searching for "é" from hkp server pgp.mit.edu *** buffer overflow detected ***: /usr/lib/gnupg/gpgkeys_hkp terminated ======= Backtrace: ========= /lib/libc.so.6(__chk_fail+0x41)[0x7842b1] /lib/libc.so.6(__vsprintf_chk+0x0)[0x783b48] /lib/libc.so.6(_IO_default_xsputn+0x9c)[0x708817] /lib/libc.so.6(_IO_vfprintf+0xfae)[0x6e2fc7] /lib/libc.so.6(__vsprintf_chk+0xa1)[0x783be9] /lib/libc.so.6(__sprintf_chk+0x30)[0x783b3c] /usr/lib/gnupg/gpgkeys_hkp[0xbc2b52] /usr/lib/gnupg/gpgkeys_hkp(main+0x750)[0xbc0db0] /lib/libc.so.6(__libc_start_main+0xdc)[0x6bd724] /usr/lib/gnupg/gpgkeys_hkp[0xbbfa61] Expected results: Normal key lookup. Additional info:
Upstream's fixed this in their tree, and it should be fixed in 1.4.4-6.