File tree Expand file tree Collapse file tree 3 files changed +21
-5
lines changed Expand file tree Collapse file tree 3 files changed +21
-5
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,12 @@ PHP NEWS
5
5
- Core:
6
6
. Imroved fix for bug #69545 (Integer overflow in ftp_genlist() resulting in
7
7
heap overflow). (Max Spelsberg)
8
+ . Fixed bug #69646 (OS command injection vulnerability in escapeshellarg).
9
+ (Anatol Belski)
10
+ . Fixed bug #69719 (Incorrect handling of paths with NULs). (Stas)
11
+
12
+ - Litespeed SAPI:
13
+ . Fixed bug #68812 (Unchecked return value). (George Wang)
8
14
9
15
- Postgres:
10
16
. Fixed bug #69667 (segfault in php_pgsql_meta_data). (Remi)
Original file line number Diff line number Diff line change 1
1
--TEST--
2
- PostgreSQL pg_select () - basic test using schema
2
+ PostgreSQL pg_insert () - test for CVE-2015-1532
3
3
--SKIPIF--
4
4
<?php include ("skipif.inc " ); ?>
5
5
--FILE--
Original file line number Diff line number Diff line change @@ -3131,10 +3131,20 @@ static int lsapi_initSuEXEC()
3131
3131
if ( !s_defaultUid || !s_defaultGid )
3132
3132
{
3133
3133
pw = getpwnam ( "nobody" );
3134
- if ( !s_defaultUid )
3135
- s_defaultUid = pw -> pw_uid ;
3136
- if ( !s_defaultGid )
3137
- s_defaultGid = pw -> pw_gid ;
3134
+ if ( pw )
3135
+ {
3136
+ if ( !s_defaultUid )
3137
+ s_defaultUid = pw -> pw_uid ;
3138
+ if ( !s_defaultGid )
3139
+ s_defaultGid = pw -> pw_gid ;
3140
+ }
3141
+ else
3142
+ {
3143
+ if ( !s_defaultUid )
3144
+ s_defaultUid = 10000 ;
3145
+ if ( !s_defaultGid )
3146
+ s_defaultGid = 10000 ;
3147
+ }
3138
3148
}
3139
3149
return 0 ;
3140
3150
}
You can’t perform that action at this time.
0 commit comments