🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.mush
Article #498

Re: Maximum size (length) of an alias

#498
From: Rich Salz
Date: Tue, 04 Sep 1990 18:59
11 lines
976 bytes
In <11854@ogicse.ogi.edu> schaefer@ogicse.ogi.edu (Barton E. Schaefer) writes:
>The reason that mush "started behaving strange" is that it began attempting
>to execute the trailing part(s) of the line, beyond BUFSIZ, as commands.
Oooh, bummer.

Whenever you do "fgets()" you should always check for a trailing newline,
and if you don't find one, read until you do after printing a diagnostic.
	/r$
-- 
Please send comp.sources.unix-related mail to rsalz@uunet.uu.net.
Use a domain-based address or give alternate paths, or you may lose out.
Technical Details
Message-ID: <2818@coconut.bbn.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!usc!bbn.com!papaya.bbn.com!rsalz
References: <5761@rtech.Ingres.COM> <11854@ogicse.ogi.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!usc!bbn.com!papaya.bbn.com!rsalz
From: rsalz@bbn.com (Rich Salz)
Newsgroups: comp.mail.mush
Subject: Re: Maximum size (length) of an alias
Message-ID: <2818@coconut.bbn.com>
Date: 4 Sep 90 18:59:24 GMT
References: <5761@rtech.Ingres.COM> <11854@ogicse.ogi.edu>
Organization: BBN Systems and Technology, Inc.
Lines: 11