Bug 198612 - gnupg segfaults when searching for UTF-8 names
gnupg segfaults when searching for UTF-8 names
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: gnupg (Show other bugs)
5
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Nalin Dahyabhai
Mike McLean
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2006-07-12 06:29 EDT by monniaux
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version: 1.4.4-6
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-07-12 17:12:22 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description monniaux 2006-07-12 06:29:48 EDT
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:
Comment 1 Nalin Dahyabhai 2006-07-12 17:12:22 EDT
Upstream's fixed this in their tree, and it should be fixed in 1.4.4-6.

Note You need to log in before you can comment on or make changes to this bug.