Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jan 2000 22:45:34 -0600 (CST)
From:      Alex Charalabidis <alex@wnm.net>
To:        FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   warnings about mktemp() and gets()
Message-ID:  <Pine.BSI.4.05.10001042238420.12906-100000@earth.wnm.net>

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

I seem to be noticing increasing warnings like these when compiling:

librwclient.a(support.o): In function `get_edit':
support.o(.text+0xeae): warning: this program uses gets(), which is
unsafe.
librwclient.a(support.o): In function `wkfile_write':
support.o(.text+0x12a9): warning: mktemp() possibly used unsafely;
consider using mkstemp()

These particular ones were for rwhois from the ports collection. I've seen
the latter many times before, even during buildworlds. Is there any reason
for concern and are any particular precautions in order?

-ac

-- 
==============================================================
Alex Charalabidis (AC8139)            5050 Poplar Ave, Ste 170
Systems Administrator                        Memphis, TN 38157
WebNet Memphis                                  (901) 432 6000
==============================================================




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.4.05.10001042238420.12906-100000>