]> git.pld-linux.org Git - packages/php.git/commitdiff
- fix insecure wsdl cache file permissions
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 12 Oct 2007 16:56:28 +0000 (16:56 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    php-bug-42952.patch -> 1.1

php-bug-42952.patch [new file with mode: 0644]

diff --git a/php-bug-42952.patch b/php-bug-42952.patch
new file mode 100644 (file)
index 0000000..ec66b37
--- /dev/null
@@ -0,0 +1,14 @@
+--- soap/php_sdl.c~    2007-05-21 16:13:50.000000000 +0300
++++ soap/php_sdl.c     2007-10-12 19:53:36.044545571 +0300
+@@ -2012,11 +2012,7 @@
+       HashTable tmp_bindings;
+       HashTable tmp_functions;
+-#ifdef ZEND_WIN32
+       f = open(fn,O_CREAT|O_WRONLY|O_EXCL|O_BINARY,S_IREAD|S_IWRITE);
+-#else
+-      f = open(fn,O_CREAT|O_WRONLY|O_EXCL|O_BINARY,S_IREAD|S_IWRITE|S_IROTH|S_IWOTH|S_IRGRP|S_IWGRP);
+-#endif
+       if (f < 0) {return;}
+       zend_hash_init(&tmp_types, 0, NULL, NULL, 0);
This page took 0.038775 seconds and 4 git commands to generate.