Subject: CVS commit: basesrc/dist/ntp/ntpd
To: None <source-changes@netbsd.org>
From: Martin Husemann <martin@netbsd.org>
List: source-changes
Date: 01/02/2002 22:47:38
Module Name:	basesrc
Committed By:	martin
Date:		Wed Jan  2 20:47:38 UTC 2002

Modified Files:
	basesrc/dist/ntp/ntpd: ntp_io.c

Log Message:
Replace a structure copy (dereferencing a pointer received from an ioctl)
by a memcpy, similar to the patch suggested by jarle@uninett.no in PR 15112.
I'm not sure if the ioctl code should be fixed to deliver this pointer
properly aligned, but this change should not cause any problem and it is
safer this way.


To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 basesrc/dist/ntp/ntpd/ntp_io.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.