Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 80684 - rpm segfaults with --df '%{checksig:armor}'
Summary: rpm segfaults with --df '%{checksig:armor}'
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rpm
Version: 8.0
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact: Mike McLean
Depends On:
TreeView+ depends on / blocked
Reported: 2002-12-29 20:13 UTC by Need Real Name
Modified: 2007-04-18 16:49 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2002-12-29 21:54:00 UTC

Attachments (Terms of Use)

Description Need Real Name 2002-12-29 20:13:27 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003

Description of problem:
I was attempting to use /usr/lib/rpm/tgpg to verify rpm signatures but the
program failed.  I investiaged the script a bit and it appeared that the
following line was causing a segfault:

rpm -qp -vv --qf '%{siggpg:armor}' $pkg > $detached

This occured with any of the red hat errata rpms including the following sample rpm:

If I remove ':armor' then rpm no longer seg faults.

This bug surfaced from the following thread on the rpm mailing list:
Jeff Johnson suggested that I enter this into bugzilla.

Version-Release number of selected component (if applicable): 4.1

How reproducible:

Comment 1 Jeff Johnson 2002-12-29 20:47:45 UTC
Reproduced, thanks for the report.

Comment 2 Jeff Johnson 2002-12-29 21:54:00 UTC
Crapola, an attempt to output unformatted binary data
directly broke %{siggpg:armor}.

Fixed in rpm-4.2-0.46, mktemp handling in the tgpg script
as well.

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