🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Bug in finger.c

#383
From: John F Haugh II
Date: Tue, 28 May 1991 16:29
19 lines
1214 bytes
In article <2373@amix.commodore.com> ag@amix.commodore.com (Keith Gabryelski) writes:
>I noticed this happens in three places in the code.  Even if the
>code used ``c ^ 0100'' a user could still send a CSI (0x9b).

[ ... ]
>! 							putchar(c ^ 100);

>! 						    break;

I had something a tad less drastic in mind - perhaps

	printf ("\\%0o", c);

Someone may actually care about what those characters were, or like to
know that something was there at all.
-- 
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: <7986@awdprime.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!sdd.hp.com!cs.utexas.edu!romp!auschs!awdprime!greenber.austin.ibm.com!jfh
References: <7961@awdprime.UUCP> <2373@amix.commodore.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!sdd.hp.com!cs.utexas.edu!romp!auschs!awdprime!greenber.austin.ibm.com!jfh
From: jfh@greenber.austin.ibm.com (John F Haugh II)
Newsgroups: comp.bugs.4bsd
Subject: Re: Bug in finger.c
Message-ID: <7986@awdprime.UUCP>
Date: 28 May 91 16:29:18 GMT
References: <7961@awdprime.UUCP> <2373@amix.commodore.com>
Sender: news@awdprime.UUCP
Organization: Best Care South of the Red River, LCC, Austin, Republic of Texas
Lines: 19