Bug 25040

Summary: Make coredumps
Product: Base System Reporter: Amir <amir>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.2-STABLE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Amir 2001-02-12 21:10:09 UTC
	FreeBSD make utily can coredump when its run off a directory, 
	which it doesn't have premission to read (chmod -r dir).
	this results in a coredump.

How-To-Repeat: 
$ mkdir tmp
$ chmod 311 tmp
$ cd tmp
$ make
Segmentation fault (core dumped)
$
Comment 1 Dag-Erling Smørgrav freebsd_committer freebsd_triage 2001-02-12 21:27:37 UTC
State Changed
From-To: open->closed

Duplicate of bin/19978.
Comment 2 Peter Pentchev 2001-02-13 07:12:34 UTC
On Mon, Feb 12, 2001 at 11:08:24PM +0200, Amir wrote:
> 
> >Number:         25040
> >Category:       bin
> >Synopsis:       Make coredumps
> >Originator:     Amir
> >Release:        FreeBSD 4.2-STABLE i386
> >Organization:
> APF
> >Environment:
> 
> 	I'm running FreeBSD-4.2 Stable,
> FreeBSD active.ath.cx 4.2-STABLE FreeBSD 4.2-STABLE #7: Sat Jan 20 16:25:33 IST
> 2001     amir@active.ath.cx:/usr/src/sys/compile/active  i386
> 
> >Description:
> 
> 	FreeBSD make utily can coredump when its run off a directory, 
> 	which it doesn't have premission to read (chmod -r dir).
> 	this results in a coredump.

Not only was this a duplicate of another PR, it was also solved recently
in -current, and brought into -stable a week or so ago.

G'luck,
Peter

-- 
Do you think anybody has ever had *precisely this thought* before?