com php-src: Fix bug #67390 insecure temporary file use in the configure script: acinclude.m4

From: Date: Fri, 13 Jun 2014 23:41:13 +0000
Subject: com php-src: Fix bug #67390 insecure temporary file use in the configure script: acinclude.m4
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-79640@lists.php.net to get a copy of this message
Commit: 08334293f8883c2bcbb74ed10b8133672fee8706 Author: Remi Collet <remi@php.net> Fri, 6 Jun 2014 14:16:04 +0200 Committer: Stanislav Malyshev <stas@php.net> Fri, 13 Jun 2014 16:41:13 -0700 Parents: adc070ca995384e4de83fa3446c6dfcf946a3f50 Branches: PHP-5.3 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=08334293f8883c2bcbb74ed10b8133672fee8706 Log: Fix bug #67390 insecure temporary file use in the configure script Bugs: https://bugs.php.net/67390 Changed paths: M acinclude.m4 Diff: diff --git a/acinclude.m4 b/acinclude.m4 index ddf7285..2681b79 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -1700,7 +1700,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) {

« previous php.cvs (#79640) next »