From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e6ea6a59056d4060 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-03-26 11:53:27 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.vmunix.org!newsfeed.stueberl.de!uucp.gnuu.de!newsfeed.arcor-online.net!news.belwue.de!cert.uni-stuttgart.de!news.enyo.de!not-for-mail From: Florian Weimer Newsgroups: comp.lang.ada Subject: Re: GNAT 3.14p and Red Hat 7.2 Date: Tue, 26 Mar 2002 20:53:29 +0100 Organization: Enyo -- not your organization Message-ID: <87g02nm7gm.fsf@deneb.enyo.de> References: <3C9F40A2.5AF3920D@raytheon.com> NNTP-Posting-Host: deneb.enyo.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: cygnus.enyo.de 1017172362 1644 212.9.189.171 (26 Mar 2002 19:52:42 GMT) X-Complaints-To: abuse@enyo.de NNTP-Posting-Date: 26 Mar 2002 19:52:42 GMT Cancel-Lock: sha1:ZyYuilGG2igisuAMOIO9UtAXkzc= Xref: archiver1.google.com comp.lang.ada:21696 Date: 2002-03-26T19:52:42+00:00 List-Id: Stephen Leake writes: >> > a-adaint.o: In function `__gnat_tmp_name': >> a-adaint.o(.text+0x42c): the use of `tmpnam' is dangerous, better use >> `mkstemp' >> g-os_lib.o: In function `gnat__os_lib__create_temp_file': >> g-os_lib.o(.text+0x2f1): the use of `mktemp' is dangerous, better use >> `mkstemp' > > These are just warnings about potential security problems. They should > be ignored. The first warning is issued because the code *does* contain a security problem (your Ada application will be affected only if it uses temporary files, though). Ignoring it won't make it go away. ;-)