SPECS: php-bug-42952.patch (NEW) - fix insecure wsdl cache file pe...

glen glen at pld-linux.org
Fri Oct 12 18:55:45 CEST 2007


Author: glen                         Date: Fri Oct 12 16:55:45 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fix insecure wsdl cache file permissions

---- Files affected:
SPECS:
   php-bug-42952.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/php-bug-42952.patch
diff -u /dev/null SPECS/php-bug-42952.patch:1.1
--- /dev/null	Fri Oct 12 18:55:45 2007
+++ SPECS/php-bug-42952.patch	Fri Oct 12 18:55:40 2007
@@ -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);
================================================================


More information about the pld-cvs-commit mailing list