Bug 137299 - Perl segfaults with spamd -d user
Summary: Perl segfaults with spamd -d user
Alias: None
Product: Fedora
Classification: Fedora
Component: perl
Version: 2
Hardware: i686
OS: Linux
Target Milestone: ---
Assignee: Warren Togami
QA Contact: David Lawrence
Depends On:
TreeView+ depends on / blocked
Reported: 2004-10-27 12:21 UTC by Sandino Araico Sánchez
Modified: 2007-11-30 22:10 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2005-09-11 10:42:57 UTC

Attachments (Terms of Use)

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:


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

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+.

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