Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Mar 1997 19:35:07 -0500
From:      "Jeffrey M. Metcalf" <metcalf@snet.net>
To:        "Jeffrey M Metcalf" <Jeffrey_M._Metcalf@ccmail.bms.com>, "FreeBSD questions" <questions@freebsd.org>
Subject:   What does gets() unsafe question mean?
Message-ID:  <199703070034.TAA12071@daisy.snet.net>

next in thread | raw e-mail | index | archive | help
Hello,

I recently wrote a little C program which uses the stdio.h function gets().
 I 
compiled and ran it under FreeBSD and I get..

warning: this program uses gets(), which is unsafe.

What exactly does this mean?  Why is it unsafe?  If possible, can any
replies
be sent as an e-mail to the above address?

Thank You,

JM
-- 
-----
Jeffrey M. Metcalf
metcalf@snet.net

http://ruddles.stat.uconn.edu/~jeff




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703070034.TAA12071>