Subject: kern/7721: adjtime(2) doesn't return EFAULT properly
To: None <>
From: Darren Reed <>
List: netbsd-bugs
Date: 06/06/1999 08:22:45
>Number:         7721
>Category:       kern
>Synopsis:       adjtime(2) doesn't check olddelta
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jun  6 08:05:00 1999
>Originator:     Darren Reed
>Release:        NetBSD 1.4
System: NetBSD 1.4 NetBSD 1.4 (MERLIN) #3: Sun May 23 19:58:14 EST 1999 arm32

	Calling adjtime(2) with an invalid "olddelta" pointer (re.
man 2 adjtime) does not cause adjtime(2) to return EFAULT as it should.
	main(){long f[2];adjtime(f, 0xdeadbeaf);perror("adjtime");}