diff options
author | Remi Collet <remi@php.net> | 2014-06-06 14:19:05 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2014-06-06 14:19:05 +0200 |
commit | cc6c7dd8ffebd934973b16286b1d0542256d279a (patch) | |
tree | 48e369f1a83371cdc3bdcbfbdc012b94d9c0f5bb /acinclude.m4 | |
parent | 6a5d5d1db43e670427f83760afbdec3b28eab3d0 (diff) | |
parent | a53b884c47dfdcd47b87caff6abf6ed6ba155ce3 (diff) | |
download | php-git-cc6c7dd8ffebd934973b16286b1d0542256d279a.tar.gz |
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
NEWS
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 c25e59eef0..3ccc7b2620 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) { |