File tree Expand file tree Collapse file tree 4 files changed +15
-3
lines changed Expand file tree Collapse file tree 4 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,8 @@ PHP NEWS
45
45
. Fixed bug #66482 (unknown entry 'priority' in php-fpm.conf).
46
46
. Fixed bug #66908 (php-fpm reload leaks epoll_create() file descriptor).
47
47
(Julio Pintos)
48
+ . Fixed bug #67060 (sapi/fpm: possible privilege escalation due to insecure
49
+ default configuration) (CVE-2014-0185). (Stas)
48
50
49
51
- GMP:
50
52
. Fixed crashes in serialize/unserialize. (Stas)
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ UPGRADE NOTES - PHP X.Y
14
14
i. Addition of zend_hash_splice
15
15
j. An additional parameter is sent to Countable::count()
16
16
k. Unserialization of manipulated object strings
17
+ l. Removal of IS_CONSTANT_ARRAY and IS_CONSTANT_INDEX hack
17
18
18
19
2. Build system changes
19
20
a. Unix build system changes
@@ -206,6 +207,15 @@ UPGRADE NOTES - PHP X.Y
206
207
fixed at the appropriate place by checking for the presence of the
207
208
serialize callback in the class entry.
208
209
210
+ l. Removal of IS_CONSTANT_ARRAY and IS_CONSTANT_INDEX hack
211
+
212
+ These two #defines disappeared. Instead we have now IS_CONSTANT_AST which
213
+ covers also the functionality IS_CONSTANT_ARRAY bid and furthermore the
214
+ hack for marking zvals as constant index with IS_CONSTANT_INDEX is now
215
+ superfluous and so removed.
216
+ Please note that IS_CONSTANT_AST now has the same value than
217
+ IS_CONSTANT_ARRAY had.
218
+
209
219
========================
210
220
2. Build system changes
211
221
========================
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ int fpm_unix_resolve_socket_premissions(struct fpm_worker_pool_s *wp) /* {{{ */
39
39
/* uninitialized */
40
40
wp -> socket_uid = -1 ;
41
41
wp -> socket_gid = -1 ;
42
- wp -> socket_mode = 0666 ;
42
+ wp -> socket_mode = 0660 ;
43
43
44
44
if (!c ) {
45
45
return 0 ;
Original file line number Diff line number Diff line change @@ -166,10 +166,10 @@ listen = 127.0.0.1:9000
166
166
; permissions must be set in order to allow connections from a web server. Many
167
167
; BSD-derived systems allow connections regardless of permissions.
168
168
; Default Values: user and group are set as the running user
169
- ; mode is set to 0666
169
+ ; mode is set to 0660
170
170
;listen.owner = @php_fpm_user@
171
171
;listen.group = @php_fpm_group@
172
- ;listen.mode = 0666
172
+ ;listen.mode = 0660
173
173
174
174
; List of ipv4 addresses of FastCGI clients which are allowed to connect.
175
175
; Equivalent to the FCGI_WEB_SERVER_ADDRS environment variable in the original
You can’t perform that action at this time.
0 commit comments