Bug #66591 [PATCH]: Compilation warning: the use of `tmpnam' is dangerous, better use `mkstemp'
Edit report at https://bugs.php.net/bug.php?id=66591&edit=1
ID: 66591
Patch added by: ondrej@php.net
Reported by: sixd@php.net
Summary: Compilation warning: the use of `tmpnam' is
dangerous, better use `mkstemp'
Status: Open
Type: Bug
Package: phpdbg
Operating System: Linux
PHP Version: 5.6Git-2014-01-27 (Git)
Block user comment: N
Private report: N
New Comment:
The following patch has been added/updated:
Patch Name: kill-tmpnam-usage.patch
Revision: 1390907962
URL: https://bugs.php.net/patch-display.php?bug=66591&patch=kill-tmpnam-usage.patch&revision=1390907962
Previous Comments:
------------------------------------------------------------------------
[2014-01-27 22:08:51] sixd@php.net
Description:
------------
Compiling PHP 5.6 on Oracle Linux 5.10 (equivalent to RHEL 5.10) gives the following warning:
sapi/phpdbg/phpdbg.o: In function `main':
sapi/phpdbg/phpdbg.c:875: warning: the use of tmpnam' is dangerous, better use
mkstemp'
The compiler is: gcc version 4.1.2 20080704 (Red Hat 4.1.2-54)
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=66591&edit=1
Thread (5 messages)