🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.bugs.4bsd
Article #381

Bug in finger.c

#381
From: John F Haugh II
Date: Fri, 24 May 1991 18:50
13 lines
983 bytes
In .../src/ucb/finger.c, there is a code fragment down around line 1074
(version 5.8 dated 3/13/86) that reads

	if (isprint(c) || isspace(c))
		putchar(c);
	else
		putchar(c ^ 100);

Now what are they doing XOR'ing that poor character against 100 =decimal=?
-- 
John F. Haugh II      |      I've Been Moved     |    MaBellNet: (512) 838-4340
SneakerNet: 809/1D064 |          AGAIN !         |      VNET: LCCB386 at AUSVMQ
BangNet: ..!cs.utexas.edu!ibmchs!auschs!snowball.austin.ibm.com!jfh (e-i-e-i-o)
Technical Details
Message-ID: <7961@awdprime.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!ut-emx!ibmchs!auschs!awdprime!greenber.austin.ibm.com!jfh

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!ut-emx!ibmchs!auschs!awdprime!greenber.austin.ibm.com!jfh
From: jfh@greenber.austin.ibm.com (John F Haugh II)
Newsgroups: comp.bugs.4bsd
Subject: Bug in finger.c
Summary: You've probably found this one years ago ...
Message-ID: <7961@awdprime.UUCP>
Date: 24 May 91 18:50:31 GMT
Sender: news@awdprime.UUCP
Organization: Best Care South of the Red River, LCC, Austin, Republic of Texas
Lines: 13