*BSD News Article 18531


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!cronkite.cisco.com!cisco.com!vandys
From: vandys@cisco.com (Andrew Valencia)
Newsgroups: comp.os.386bsd.questions
Subject: Re: nn
Date: 16 Jul 93 23:34:27 GMT
Organization: cisco Systems
Lines: 15
Message-ID: <vandys.742865667@cisco.com>
References: <226q88INN56k@xs4all.hacktic.nl> <1993Jul16.220639.979@uvm.edu>
NNTP-Posting-Host: glare.cisco.com

In <1993Jul16.220639.979@uvm.edu> wollman@trantor.emba.uvm.edu (Garrett Wollman) writes:

>gets() doesn't run in a vacuum---it msut be a part of some program!
>The error message is a very strong hint to the installer that the
>program emitting it is broken and needs to be fixed to use a safe
>string-read routine, like fgetline() or fgets().

The fact that one has the source available suggests an easy way to replace
gets() behavior with something less A.R. (to use a technical term.)

						Andy Valencia
-- 

|		    Andy Valencia: vandys@cisco.com		      |
| Disclaimer: I speak only for myself, certainly not for my employer! |