Bug 11736 - RPM seg faults on following command line.
RPM seg faults on following command line.
Status: CLOSED WORKSFORME
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
6.2
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2000-05-29 16:50 EDT by Dave Johnson
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-06-25 21:59:39 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 Dave Johnson 2000-05-29 16:50:30 EDT
RPM 3.0.4 seg faults when processing:

 rpm -qlp --queryformat "%{NAME}:\n %{FILENAMES}\n"
/mnt/cdrom/RedHat/RPMS/*.rpm

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

Thanks!
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.

Thanks!
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.

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