From: "David C. Hoos, Sr." <david.c.hoos.sr@ada95.com>
Subject: Re: GNAT 3.14p and Red Hat 7.2
Date: Wed, 27 Mar 2002 04:49:56 -0600
Date: 2002-03-27T04:49:56-06:00 [thread overview]
Message-ID: <mailman.1017226261.587.comp.lang.ada@ada.eu.org> (raw)
In-Reply-To: 87g02nm7gm.fsf@deneb.enyo.de
----- Original Message -----
From: "Florian Weimer" <fw@deneb.enyo.de>
Newsgroups: comp.lang.ada
To: <comp.lang.ada@ada.eu.org>
Sent: March 26, 2002 1:53 PM
Subject: Re: GNAT 3.14p and Red Hat 7.2
> Stephen Leake <stephen.a.leake.1@gsfc.nasa.gov> writes:
>
> >> <snip>> 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
>
>
next prev parent reply other threads:[~2002-03-27 10:49 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-24 23:20 GNAT 3.14p and Red Hat 7.2 Ken Nelson
2002-03-25 15:22 ` Mark Johnson
2002-03-26 2:12 ` Ken Nelson
2002-03-26 14:56 ` Mark Johnson
2002-03-26 19:52 ` Florian Weimer
2002-03-26 17:21 ` Stephen Leake
2002-03-26 19:53 ` Florian Weimer
2002-03-27 10:49 ` David C. Hoos, Sr. [this message]
2002-03-27 11:55 ` Florian Weimer
2002-03-28 16:04 ` Georg Bauhaus
2002-03-28 20:34 ` Florian Weimer
2002-03-29 16:02 ` Georg Bauhaus
2002-03-30 16:18 ` Georg Bauhaus
2002-03-30 19:17 ` Florian Weimer
2002-03-30 21:22 ` David C. Hoos, Sr.
2002-03-30 23:14 ` Florian Weimer
2002-03-26 10:06 ` Dr. Michael Paus
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox