Bug 137299

Summary: Perl segfaults with spamd -d user
Product: [Fedora] Fedora Reporter: Sandino Araico Sánchez <sandino>
Component: perlAssignee: Warren Togami <wtogami>
Status: CLOSED WONTFIX QA Contact: David Lawrence <dkl>
Severity: high Docs Contact:
Priority: medium    
Version: 2CC: mattdm, perl-devel
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-09-11 10:42:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Sandino Araico Sánchez 2004-10-27 12:21:21 UTC
Description of problem:

When running spamd with the parameter -d user perl segfaults

Found the lines in spamd that segfault:
if ( my $nh = ( getpwnam( $opt{'username'} ) )[7] ) {
    $ENV{'HOME'} = $nh;
}

The getpwnam() is broken.


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

5.8.3-18 and 5.8.5-9 both segfault the same


How reproducible:

Always

Steps to Reproduce:
1. rpm -uvh spamassassin
2. spamd -d user
3.
  
Actual results:
Segfaults

Expected results:
The spamd daemon should start and keep running

Additional info:

Comment 1 Matthew Miller 2005-04-26 15:26:57 UTC
Fedora Core 2 is now maintained by the Fedora Legacy project for
security updates only. If this problem is a security issue, please
reopen and reassign to the Fedora Legacy product. If it is not a
security issue and hasn't been resolved in the current FC3 updates or
in the FC4 test release, reopen and change the version to match.

Comment 2 Warren Togami 2005-09-11 10:42:57 UTC
Closing because FC2 is no longer supported.  Please reopen if this is an issue
in FC3+.