This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/34647] New: Ada runtime includes unsafe calls to mktemp and tmpname on OpenBSD
- From: "tero dot koskinen at iki dot fi" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Subject: [Bug ada/34647] New: Ada runtime includes unsafe calls to mktemp and tmpname on OpenBSD
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Ada runtime includes unsafe calls to mktemp and tmpname on OpenBSD.
This is identical to PR ada/34553, but for OpenBSD (gcc trunk, r131220).
Patch:
http://iki.fi/tero.koskinen/gcc/gcc-ada-adaint_c.diff
Build log:
/home/tkoskine/programs/gcc-trunk/lib/gcc/i386-unknown-openbsd4.2/4.3.0/adalib/l
ibgnat.a(adaint.o)(.text+0xbe5): In function `__gnat_open_new_temp':
/home/tkoskine/src/cvs/gcc/obj/gcc/ada/rts/adaint.c:898: warning: mktemp()
possi
bly used unsafely; consider using mkstemp()
--
Summary: Ada runtime includes unsafe calls to mktemp and tmpname
on OpenBSD
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: ada
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tero dot koskinen at iki dot fi
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34647