Bug in finger.c

John F Haugh II jfh at greenber.austin.ibm.com
Wed May 29 02:29:18 AEST 1991


In article <2373 at amix.commodore.com> ag at 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)



More information about the Comp.bugs.4bsd.ucb-fixes mailing list