Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  NEWS
  Fix bug #67390 insecure temporary file use in the configure script
This commit is contained in:
Remi Collet 2014-06-06 14:18:17 +02:00
commit 38e11dfaee

View file

@ -1711,7 +1711,7 @@ int main(int argc, char *argv[])
{ {
FILE *fp; FILE *fp;
long position; long position;
char *filename = "/tmp/phpglibccheck"; char *filename = tmpnam(NULL);
fp = fopen(filename, "w"); fp = fopen(filename, "w");
if (fp == NULL) { if (fp == NULL) {