*BSD News Article 33363


Return to BSD News archive

Xref: sserve comp.os.386bsd.questions:11839 comp.os.386bsd.development:2345 comp.os.386bsd.misc:2858
Newsgroups: comp.os.386bsd.questions,comp.os.386bsd.development,comp.os.386bsd.misc
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!agate!howland.reston.ans.net!europa.eng.gtefsd.com!MathWorks.Com!yeshua.marcam.com!charnel.ecst.csuchico.edu!olivea!news.hal.COM!decwrl!netcomsv!netcom.com!jmonroy
From: jmonroy@netcom.com (Jesus Monroy Jr)
Subject: Re: Why does FreeBSD 1.1.5 say gets() is unsafe?
Message-ID: <jmonroyCtMGq2.IC6@netcom.com>
Followup-To: comp.os.386bsd.questions,comp.os.386bsd.development,comp.os.386bsd.misc
Organization: NETCOM On-line Communication Services (408 261-4700 guest)
X-Newsreader: TIN [version 1.2 PL1]
References: <30lrf3$2ii@acmez.gatech.edu> <ASAMI.94Jul21184711@forgery.cs.berkeley.edu> <31181v$ibk@agate.berkeley.edu> <ASAMI.94Jul25151654@forgery.cs.berkeley.edu> <311m2e$o33@agate.berkeley.edu>
Date: Wed, 27 Jul 1994 23:18:01 GMT
Lines: 18

Edward Wang (edward@homer.CS.Berkeley.EDU) wrote:
: In article <ASAMI.94Jul25151654@forgery.cs.berkeley.edu>,
: Satoshi ASAMI <asami@cs.berkeley.edu> wrote:
: >Hmm, so how can you write a program that uses gets() and is safe?

: As long as it's not setuid or run from a daemon, it's perfectly safe,
: just coredumps from time to time.

: I think this is enough on gets().

	Somehow I am to beleive that a "coredump" is a good thing?!?


-- 
Jesus Monroy Jr                                          jmonroy@netcom.com
Zebra Research
/386BSD/device-drivers /fd /qic /clock /documentation
___________________________________________________________________________