🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #928

Re: finger-1.36 minor bug on hpux

#928
From: Jan Brittenson
Date: Wed, 14 Oct 1992 19:33
23 lines
1667 bytes
 >> On 13 Oct 92 14:33:19 GMT, neal@ctd.COMsat.COM (Neal Becker) said:

 >> neal> On hpux 8.07 finger shows entries for terminal "co" (console, I
 >> neal> guess) which all show idle time of 24 years!  Anyone know why?

 > I had this problem on a number of tty's using Ultrix (not just console
 > ones).  It turned out to be in.cfingerd does the conversion htonl
 > before sending it but fingerd doesn't ntohl the value read in.  Adding
 > this in fixed the problem.

   No, no, no! This is utterly and completely wrong. No such thing
should be added to fingerd. Instead, the call to htonl() should be
removed from in.cfingerd. The poll protocol has changed from 1.35 --
the idle time is now passed in ASCII, as a decimal integer, no
conversion to or from network byte ordering should be done. I just
missed removing the call to htonl(); it didn't cause any problems at
FSF because all the machines I installed it on here happened to be
big-endian. This wart will be removed in the next release, along with
a few other (reasonably minor) bugs that crept in while I was making
major changes to the code.

						-- Jan Brittenson
						   bson@gnu.ai.mit.edu
Technical Details
Message-ID: <9210150333.AA13927@geech.gnu.ai.mit.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!ames!elroy.jpl.nasa.gov!usc!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!gnu.ai.mit.edu!bson

Show Full Headers
Complete Article Headers
Newsgroups: gnu.utils.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!ames!elroy.jpl.nasa.gov!usc!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!gnu.ai.mit.edu!bson
From: bson@gnu.ai.mit.edu (Jan Brittenson)
Subject: Re: finger-1.36 minor bug on hpux
Message-ID: <9210150333.AA13927@geech.gnu.ai.mit.edu>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Wed, 14 Oct 1992 19:33:58 GMT
Approved: bug-gnu-utils@prep.ai.mit.edu
Lines: 24