*BSD News Article 33271


Return to BSD News archive

Xref: sserve comp.os.386bsd.questions:11803 comp.os.386bsd.development:2340
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!spool.mu.edu!howland.reston.ans.net!gatech!newsxfer.itd.umich.edu!zip.eecs.umich.edu!yeshua.marcam.com!charnel.ecst.csuchico.edu!olivea!grapevine.lcs.mit.edu!ginger.lcs.mit.edu!wollman
From: wollman@ginger.lcs.mit.edu (Garrett Wollman)
Newsgroups: comp.os.386bsd.questions,comp.os.386bsd.development
Subject: Re: Why does FreeBSD 1.1.5 say gets() is unsafe?
Date: 26 Jul 1994 20:21:23 GMT
Organization: MIT Laboratory for Computer Science
Lines: 16
Message-ID: <313r83$gm7@GRAPEVINE.LCS.MIT.EDU>
References: <30lrf3$2ii@acmez.gatech.edu> <311m2e$o33@agate.berkeley.edu> <311uec$4cm@GRAPEVINE.LCS.MIT.EDU> <312c67$1ae@agate.berkeley.edu>
NNTP-Posting-Host: ginger.lcs.mit.edu

In article <312c67$1ae@agate.berkeley.edu>,
Edward Wang <edward@priam.CS.Berkeley.EDU> wrote:

>Sometimes incorrect, or usually correct, which is the best we can say
>about any program.

The way we define correctness here, a program which crashes if you
give it unexpected input is always incorrect.

-GAWollman

-- 
Garrett A. Wollman   | Shashish is simple, it's discreet, it's brief. ... 
wollman@lcs.mit.edu  | Shashish is the bonding of hearts in spite of distance.
Opinions not those of| It is a bond more powerful than absence.  We like people
MIT, LCS, ANA, or NSA| who like Shashish.  - Claude McKenzie + Florent Vollant