Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 42733 - rpm-4.0.3-26 segfaults on solaris 2.6
rpm-4.0.3-26 segfaults on solaris 2.6
Product: Red Hat Raw Hide
Classification: Retired
Component: rpm (Show other bugs)
All Linux
medium Severity high
: ---
: ---
Assigned To: Jeff Johnson
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2001-05-29 15:56 EDT by Nathan Owen
Modified: 2007-04-18 12:33 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-05-29 15:56:53 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 Nathan Owen 2001-05-29 15:56:49 EDT
Description of Problem:
rpm segfaults upon being run on solaris. This is because the uname()
syscall on solaris returns non-negative on success, whereas on linux it
returns 0 on success.

changing line 982 in lib/rpmrc.c
	if (rc) return;
	if (rc < 0) return;

appears to fix this

How Reproducible:

Steps to Reproduce:
1. rpm

Actual Results:

Expected Results:

Additional Information:
Comment 1 Jeff Johnson 2001-05-29 16:05:49 EDT
Fixed in next checkin, should be in rpm-4.0.3-0.29.

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