Bug 11736 - RPM seg faults on following command line.
RPM seg faults on following command line.
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
Depends On:
  Show dependency treegraph
Reported: 2000-05-29 16:50 EDT by Dave Johnson
Modified: 2016-11-10 09:27 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-06-25 21:59:39 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Dave Johnson 2000-05-29 16:50:30 EDT
RPM 3.0.4 seg faults when processing:

 rpm -qlp --queryformat "%{NAME}:\n %{FILENAMES}\n"

It does not seg fault on something like:
 rpm -qlp /mnt/cdrom/RedHat/RPMS/*.rpm

Comment 1 Jeff Johnson 2000-06-03 14:25:30 EDT
I need to know what is in /mnt/cdrom in order to reproduce this problem.
What CD is mounted?
Comment 2 Dave Johnson 2000-06-05 12:56:28 EDT
The CD mounted was Red Hat Linux Installation CD #1 from the Deluxe box.

Comment 3 Dmitry V. Levin 2000-06-25 21:59:39 EDT
rpm-3.0.5 (and cvs snapshot) also dumps core
on following command line: "rpm -qp ''".
Dereferencing null appears in lib/misc:749
Comment 4 Jeff Johnson 2001-07-25 16:55:41 EDT
The command
	rpm -qp ""
does not segfault in rpm-4.0.3-0.81.

The other problem is probably due to the use of '*' pulling
in multiple instances of a package.
Comment 5 openshift-github-bot 2016-11-10 09:27:28 EST
Commit pushed to master at https://github.com/openshift/origin

Merge pull request #11810 from jim-minter/issue11736

Merged by openshift-bot

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