diff options
author | Remi Collet <remi@php.net> | 2014-06-06 14:18:17 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2014-06-06 14:18:17 +0200 |
commit | 38e11dfaee336e4eaadf7cf10d45ae67e380392c (patch) | |
tree | 2122f52f94690b76ecb8d860b74ee54d5b864d05 /acinclude.m4 | |
parent | e31b51f9a0e5beadb250c67a0865539b3e9fb222 (diff) | |
parent | 811f35d0ed6c843be7cd895640592588be354254 (diff) | |
download | php-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.m4 | 2 |
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) { |