misc/95290: amd64 inetd returns 8 byte time value instead of 4
hotlips Internet admin
hostmaster at GTS.NET
Tue Apr 4 18:40:24 UTC 2006
The following reply was made to PR bin/95290; it has been noted by GNATS.
From: hotlips Internet admin <hostmaster at GTS.NET>
To: kris at obsecurity.org (Kris Kennaway)
Cc: freebsd-gnats-submit at FreeBSD.org
Subject: Re: misc/95290: amd64 inetd returns 8 byte time value instead of 4 byte
Date: Tue, 4 Apr 2006 14:37:33 -0400 (EDT)
Thus saith Kris Kennaway:
| Content-Type: text/plain; charset=us-ascii
| Content-Disposition: inline
| On Mon, Apr 03, 2006 at 11:36:14PM +0000, Bruce Becker wrote:
| > >How-To-Repeat:
| > Enable the "time" builtin in inetd.conf, then "telnet localhost time > xxx" -
| > the last line of "xxx" will contain the erroneous 8 byte result
| There's also an argument that the RFC is broken since 64-bit time_t is
| the way of the future (i.e. the RFC is not Y2.038K compliant and will
| need to be amended anyway).
Of course you are right, but i need to get my NetApp
time synchronised properly in the meantime :) ...
Bruce Becker +1 416 410 0879
GTS Network Administration Toronto, Ont.
Email: hostmaster at gts.net
More information about the freebsd-bugs