Subject: kern/7720: pipe(2) causes core dump
To: None <gnats-bugs@gnats.netbsd.org>
From: Darren Reed <darrenr@merlin.reed.wattle.id.au>
List: netbsd-bugs
Date: 06/06/1999 07:35:48
>Number:         7720
>Category:       kern
>Synopsis:       pipe(2) doesn't return EFAULT
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jun  6 07:35:00 1999
>Last-Modified:
>Originator:     Darren Reed
>Organization:
>Release:        NetBSD-1.4
>Environment:
System: NetBSD merlin.reed.wattle.id.au 1.4 NetBSD 1.4 (MERLIN) #3: Sun May 23 19:58:14 EST 1999 darrenr@merlin.reed.wattle.id.au:/usr/src/sys/arch/arm32/compile/MERLIN arm32


>Description:
	pipe(2) causes a core dump with an invalid address passed rather than
returning EFAULT.
>How-To-Repeat:
	Compile and test this one liner:
	main(){pipe(0xdeadbeaf);perror("pipe");}
>Fix:
>Audit-Trail:
>Unformatted: