summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorRemi Collet <remi@php.net>2014-06-06 14:18:17 +0200
committerRemi Collet <remi@php.net>2014-06-06 14:18:17 +0200
commit38e11dfaee336e4eaadf7cf10d45ae67e380392c (patch)
tree2122f52f94690b76ecb8d860b74ee54d5b864d05 /acinclude.m4
parente31b51f9a0e5beadb250c67a0865539b3e9fb222 (diff)
parent811f35d0ed6c843be7cd895640592588be354254 (diff)
downloadphp-git-38e11dfaee336e4eaadf7cf10d45ae67e380392c.tar.gz
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4: NEWS Fix bug #67390 insecure temporary file use in the configure script
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 3284978804..d348f574b8 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -1711,7 +1711,7 @@ int main(int argc, char *argv[])
{
FILE *fp;
long position;
- char *filename = "/tmp/phpglibccheck";
+ char *filename = tmpnam(NULL);
fp = fopen(filename, "w");
if (fp == NULL) {