#22715 [NEW]: end of make MySQL tempnam is dangerous, better use mkstemp
| From: | neuman_peter at hotmail dot com | Date: | Fri, 14 Mar 2003 22:09:01 +0000 |
| Subject: | #22715 [NEW]: end of make MySQL tempnam is dangerous, better use mkstemp | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-35631@lists.php.net to get a copy of this message | ||
From: neuman_peter at hotmail dot com
Operating system: Debian Linux/GNU 3.0r1
PHP version: 4.3.2RC1
PHP Bug Type: MySQL related
Bug description: end of make MySQL tempnam is dangerous, better use mkstemp
Hello,
I build the PHP-4.3.2RC1 on my test box only with "./configure" and I get
this Warning on end "make"
[...]
pt -lresolv -lm -ldl -lnsl -lcrypt -lcrypt -o sapi/cli/php
ext/mysql/libmysql/my_tempnam.o: In function `my_tempnam':
/home/peter/dev/php/php-4.3.2RC1/ext/mysql/libmysql/my_tempnam.c:103: the
use of
tempnam' is dangerous, better use mkstemp'
$shuttle:
Please use mkstemp, Thanks
--
Edit bug report at http://bugs.php.net/?id=22715&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=22715&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=22715&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=22715&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=22715&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=22715&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=22715&r=support
Expected behavior: http://bugs.php.net/fix.php?id=22715&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=22715&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=22715&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=22715&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22715&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=22715&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=22715&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=22715&r=gnused