Bug 69098 - [PATCH] pure-ftpd 1.0.19: Correct coredump on FreeBSD
Summary: [PATCH] pure-ftpd 1.0.19: Correct coredump on FreeBSD
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Pav Lucistnik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-15 15:20 UTC by Jason Li
Modified: 2004-07-17 13:26 UTC (History)
1 user (show)

See Also:


Attachments
patch-pure-ftpd (2.11 KB, text/plain)
2004-07-15 15:20 UTC, Jason Li
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Li 2004-07-15 15:20:14 UTC
	pure-pw no longer work when updated to pure-ftpd 1.0.19 due to a change of bsd-getopt-long.c

Fix: This is a hack which essentially backed out OpenBSD src/lib/libc/stdlib/getopt_long.c,v 1.15
carried in source distribution.
	Tested on FreeBSD 4.9
How-To-Repeat: 	pure-pw useradd test -f test.db -u 500 -g 500 -d /var/tmp

	And we will get a SIGV and a core
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2004-07-15 23:49:19 UTC
Dear maintainer of FreeBSD port ftp/pure-ftpd, please take a look at

http://www.freebsd.org/cgi/query-pr.cgi?q=69098

Do you approve this patch?

-- 
Pav Lucistnik <pav@oook.cz>
              <pav@FreeBSD.org>

He had found a Nutri-Matic machine which had provided him with a plastic cup
filled with a liquid that was almost, but not quite, entirely unlike tea.
Comment 2 Pav Lucistnik freebsd_committer freebsd_triage 2004-07-15 23:49:21 UTC
State Changed
From-To: open->feedback

Asked maintainer for approval. 


Comment 3 Pav Lucistnik freebsd_committer freebsd_triage 2004-07-15 23:49:21 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pav

Handle.
Comment 4 Frank DENIS 2004-07-16 15:16:32 UTC
On Fri, Jul 16, 2004 at 12:49:19AM +0200, Pav Lucistnik wrote:
> http://www.freebsd.org/cgi/query-pr.cgi?q=69098
> Do you approve this patch?

  Looks good.
Comment 5 Pav Lucistnik freebsd_committer freebsd_triage 2004-07-16 17:20:50 UTC
State Changed
From-To: feedback->open

Feedback received.
Comment 6 Pav Lucistnik freebsd_committer freebsd_triage 2004-07-17 13:26:34 UTC
State Changed
From-To: open->closed

Committed, thanks!