Return to BSD News archive
Xref: sserve comp.os.386bsd.questions:11792 comp.os.386bsd.development:2335 comp.os.386bsd.misc:2810 Path: sserve!newshost.anu.edu.au!munnari.oz.au!spool.mu.edu!agate!asami From: asami@cs.berkeley.edu (Satoshi ASAMI) Newsgroups: comp.os.386bsd.questions,comp.os.386bsd.development,comp.os.386bsd.misc Subject: Re: Why does FreeBSD 1.1.5 say gets() is unsafe? Date: 25 Jul 94 15:16:54 Organization: CS Div. - EECS, University of California, Berkeley, CA 94720 Lines: 11 Message-ID: <ASAMI.94Jul25151654@forgery.cs.berkeley.edu> References: <30lrf3$2ii@acmez.gatech.edu> <30mcrm$67t@darkstar.UCSC.EDU> <ASAMI.94Jul21184711@forgery.cs.berkeley.edu> <31181v$ibk@agate.berkeley.edu> NNTP-Posting-Host: forgery.cs.berkeley.edu In-reply-to: edward@priam.CS.Berkeley.EDU's message of 25 Jul 1994 20:41:35 GMT In article <31181v$ibk@agate.berkeley.edu> edward@priam.CS.Berkeley.EDU (Edward Wang) writes: * >gets() really has no business being in the standard library, except it * >is too "standard" (is it in POSIX?) that we can't take it out. * * It's a bit drastic, no? Fingerd.c was just badly written. Hmm, so how can you write a program that uses gets() and is safe? Satoshi