*BSD News Article 33173


Return to BSD News archive

Xref: sserve comp.os.386bsd.questions:11765 comp.os.386bsd.development:2330 comp.os.386bsd.misc:2794
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!gatech!gt-news!prism!prism!not-for-mail
From: gt4384a@prism.gatech.edu (Matthew W. Culbreth)
Newsgroups: comp.os.386bsd.questions,comp.os.386bsd.development,comp.os.386bsd.misc
Subject: Why does FreeBSD 1.1.5 say gets() is unsafe?
Followup-To: poster
Date: 21 Jul 1994 08:59:15 -0400
Organization: Georgia Institute of Technology
Lines: 11
Sender: gt4384a@prism.gatech.edu
Message-ID: <30lrf3$2ii@acmez.gatech.edu>
NNTP-Posting-Host: acmez.gatech.edu
Keywords: gets,unsafe

Hello,

I've written a program that uses gets().  When I run it, a message
comes back saying that 'this program uses gets(), which is unsafe'.  

Why is that?

Thanks,

Matt