diff options
author | Remi Collet <remi@php.net> | 2014-06-06 14:16:04 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2014-06-06 14:16:04 +0200 |
commit | 91bcadd85e20e50d3f8c2e9721327681640e6f16 (patch) | |
tree | 302069442cdda6fb103da579bb0cb0a7f947ef8d | |
parent | 56c9e22c1f4b860a1c0e76314fa97cc85626eb05 (diff) | |
download | php-git-91bcadd85e20e50d3f8c2e9721327681640e6f16.tar.gz |
Fix bug #67390 insecure temporary file use in the configure script
-rw-r--r-- | acinclude.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 448659f920..25f3655112 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) { |