https://bugzilla.novell.com/show_bug.cgi?id=704589 https://bugzilla.novell.com/show_bug.cgi?id=704589#c0 Summary: rpm segfaults when importing gpg keys Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: x86-64 OS/Version: openSUSE 11.4 Status: NEW Severity: Critical Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: andrea@opensuse.org QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20100101 Firefox/5.0 linux-kenv:~ # wget https://fedoraproject.org/static/fedora.gpg linux-kenv:~ # rpm --import fedora.gpg Segmentation fault linux-kenv:~ # gdb rpm GNU gdb (GDB) SUSE (7.2-3.3) Copyright (C) 2010 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-suse-linux". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /bin/rpm...Reading symbols from /usr/lib/debug/bin/rpm.debug...done. done. (gdb) r --import fedora.gpg Starting program: /bin/rpm --import fedora.gpg [Thread debugging using libthread_db enabled] Program received signal SIGSEGV, Segmentation fault. __libc_realloc (oldmem=0x161, bytes=128) at malloc.c:3764 3764 malloc.c: No such file or directory. in malloc.c (gdb) backtrace #0 __libc_realloc (oldmem=0x161, bytes=128) at malloc.c:3764 #1 0x00007ffff787a2de in mpnsethex () from /usr/lib64/librpmio.so.1 #2 0x00007ffff786c9ed in pgpSetPubMpiDSA (dig=0x6ffc20, num=3, p=<value optimized out>) at digest_beecrypt.c:284 #3 0x00007ffff7867865 in pgpPrtPubkeyParams (pubkey_algo=17 '\021', p=0x71d765 "\003\377x\335\356R\bL\353\374D\\\035|l\323\020=\303^\275h\322O&\222D\006\235ʯz\341\336\354\370\260\345\021\a\004\005\317H\211\021\351\264v,\035\343\355\t_\222\213\360r\276G\350gr\360D\357\375\026^\034\247I\221", h=<value optimized out>, hlen=<value optimized out>, _dig=0x6ffc20) at rpmpgp.c:700 #4 0x00007ffff786804a in pgpPrtKey (pkts=<value optimized out>, pktlen=<value optimized out>, dig=0x6ffc20, printing=<value optimized out>) at rpmpgpc:840 #5 pgpPrtPkt (pkts=<value optimized out>, pktlen=<value optimized out>, dig=0x6ffc20, printing=<value optimized out>) at rpmpgp.c:1024 #6 pgpPrtPkts (pkts=<value optimized out>, pktlen=<value optimized out>, dig=0x6ffc20, printing=<value optimized out>) at rpmpgp.c:1118 #7 0x00007ffff786c1f0 in rpmPubkeyDig (key=0x6e1bb0) at rpmkeyring.c:177 #8 0x00007ffff7af96b0 in makePubkeyHeader (ts=0x6547c0, pkt=<value optimized out>, pktlen=<value optimized out>) at rpmts.c:375 #9 rpmtsImportPubkey (ts=0x6547c0, pkt=<value optimized out>, pktlen=<value optimized out>) at rpmts.c:444 #10 0x00007ffff7aeba12 in rpmcliImportPubkeys (ts=0x6547c0, qva=<value optimized out>, argv=<value optimized out>) at rpmchecksig.c:438 #11 rpmcliSign (ts=0x6547c0, qva=<value optimized out>, argv=<value optimized out>) at rpmchecksig.c:807 #12 0x0000000000405202 in main (argc=3, argv=<value optimized out>) at rpmqv.c:787 (gdb) import from yast work fine Reproducible: Always -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.