Date: Mon, 20 Aug 2007 13:10:11 GMT From: dfilter@FreeBSD.ORG (dfilter service) To: freebsd-bugs@FreeBSD.org Subject: Re: bin/115430: commit references a PR Message-ID: <200708201310.l7KDAB9h099062@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/115430; it has been noted by GNATS.
From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:
Subject: Re: bin/115430: commit references a PR
Date: Mon, 20 Aug 2007 13:00:52 +0000 (UTC)
truckman 2007-08-20 13:00:48 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_6)
usr.sbin/rpc.statd file.c
Log:
MFC file.c 1.8
If the mmap() call in rpc.statd fails, rpc.statd prints a warning
message and then dumps core because the subsequent code assumes that
mmap() succeeded. Since rpc.statd does not have fallback code to
implement the functionality needed to operate on the status file if
it is not memory mapped, rpc.statd should use err() to force the process
to exit if the mmap() call fails.
PR: bin/115430 (mmap() failure previously fixed in statd.c 1.12.8.2)
Revision Changes Path
1.7.10.1 +1 -1 src/usr.sbin/rpc.statd/file.c
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200708201310.l7KDAB9h099062>
