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=-0.1 required=5.0 tests=AXB_XMAILER_MIMEOLE_OL_024C2, BAYES_00,MAILING_LIST_MULTI,REPLYTO_WITHOUT_TO_CC autolearn=no 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-27 02:51:02 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fr.clara.net!heighliner.fr.clara.net!freenix!enst!enst.fr!not-for-mail From: "David C. Hoos, Sr." Newsgroups: comp.lang.ada Subject: Re: GNAT 3.14p and Red Hat 7.2 Date: Wed, 27 Mar 2002 04:49:56 -0600 Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: References: <3C9F40A2.5AF3920D@raytheon.com> <87g02nm7gm.fsf@deneb.enyo.de> Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: avanie.enst.fr 1017226262 11275 137.194.161.2 (27 Mar 2002 10:51:02 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Wed, 27 Mar 2002 10:51:02 +0000 (UTC) Return-Path: X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0.8 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: comp.lang.ada mail<->news gateway List-Unsubscribe: , Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org Xref: archiver1.google.com comp.lang.ada:21718 Date: 2002-03-27T04:49:56-06:00 ----- Original Message ----- From: "Florian Weimer" Newsgroups: comp.lang.ada To: Sent: March 26, 2002 1:53 PM Subject: Re: GNAT 3.14p and Red Hat 7.2 > 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. ;-) More correctly, one should say "your Ada application will be affected only if it uses GNAT.OS_Lib.Create_Temp_File." One can certainly safely use temporary files in Ada programs. > _______________________________________________ > comp.lang.ada mailing list > comp.lang.ada@ada.eu.org > http://ada.eu.org/mailman/listinfo/comp.lang.ada > >