~hexmode/ubuntu/lucid/php5/php5.fix-php-bug-33210

« back to all changes in this revision

Viewing changes to ext/standard/tests/file/open_basedir_parse_ini_file.log

  • Committer: Bazaar Package Importer
  • Author(s): Marc Deslauriers
  • Date: 2009-11-30 14:13:45 UTC
  • mfrom: (0.3.4 sid)
  • Revision ID: james.westby@ubuntu.com-20091130141345-db35ow8gpyjqn8e0
Tags: 5.2.11.dfsg.1-2ubuntu1
* Merge from debian unstable, remaining changes:
  - debian/control, debian/rules: Disable a few build dependencies and
    accompanying binary packages which we do not want to support in main:
    + firebird2-dev/php5-interbase (we have a seperate php-interbase source)
    + libc-client/php5-imap (we have a seperate php-imap source)
    + libmcrypt-dev/php5-mcrypt (seperate php-mcrypt source)
    + readline support again, now that the libedit issue is fixed.
  - debian/control: Add build dependency: libdedit-dev (>= 2.9.cvs.20050518-1)
    CLI readline support.
  - debian/rules:
    + Correctly mangle PHP5_* macros for lpia
  - debian/control:
    + Rename Vcs-Browser & Vcs-Git to XS-Original-Vcs-Browser & XS-Original-Vcs-Git (LP: #323731).
  - debian/control: Move php5-suhoshin to Suggests.
  - debian/rules: Fix broken symlink for pear.
  - main/php_version.h: updated with Ubuntu version info
* debian/patches/series: Re-enable the 033-we_WANT_libtool.patch patch
* debian/patches/sybase-alias.patch: use the debian patch
* Dropped unapplied patches: fix_64bit_time.patch,
  fix-autoconf-ftbfs.patch, 027-readline_is_editline.patch,
  deprecated_freetds_check.patch, use-specific-libdb-version.patch,
  CVE-2008-5625.patch.
* SECURITY UPDATE: safe_mode bypass via tempam function
  - debian/patches/CVE-2009-3557.patch: check for safe_mode in
    ext/standard/file.c.
  - CVE-2009-3557
* SECURITY UPDATE: open_basedir restrictions bypass via posix_mkfifo
  - debian/patches/CVE-2009-3558.patch: check for open_basedir in
    ext/posix/posix.c.
  - CVE-2009-3558

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
---- EXPECTED OUTPUT
3
 
*** Testing open_basedir configuration [parse_ini_file] ***
4
 
bool(true)
5
 
bool(true)
6
 
bool(true)
7
 
bool(true)
8
 
bool(true)
9
 
 
10
 
Warning: parse_ini_file(): open_basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on line %d
11
 
 
12
 
Warning: parse_ini_file(../bad): failed to open stream: Operation not permitted in %s on line %d
13
 
array(0) {
14
 
}
15
 
 
16
 
Warning: parse_ini_file(): open_basedir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d
17
 
 
18
 
Warning: parse_ini_file(../bad/bad.txt): failed to open stream: Operation not permitted in %s on line %d
19
 
array(0) {
20
 
}
21
 
 
22
 
Warning: parse_ini_file(..): failed to open stream: Operation not permitted in %s on line %d
23
 
array(0) {
24
 
}
25
 
 
26
 
Warning: parse_ini_file(): open_basedir restriction in effect. File(../) is not within the allowed path(s): (.) in %s on line %d
27
 
 
28
 
Warning: parse_ini_file(../): failed to open stream: Operation not permitted in %s on line %d
29
 
array(0) {
30
 
}
31
 
 
32
 
Warning: parse_ini_file(): open_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on line %d
33
 
 
34
 
Warning: parse_ini_file(../bad/.): failed to open stream: Operation not permitted in %s on line %d
35
 
array(0) {
36
 
}
37
 
 
38
 
Warning: parse_ini_file(): open_basedir restriction in effect. File(../bad/./bad.txt) is not within the allowed path(s): (.) in %s on line %d
39
 
 
40
 
Warning: parse_ini_file(../bad/./bad.txt): failed to open stream: Operation not permitted in %s on line %d
41
 
array(0) {
42
 
}
43
 
 
44
 
Warning: parse_ini_file(): open_basedir restriction in effect. File(./../.) is not within the allowed path(s): (.) in %s on line %d
45
 
 
46
 
Warning: parse_ini_file(./../.): failed to open stream: Operation not permitted in %s on line %d
47
 
array(0) {
48
 
}
49
 
*** Finished testing open_basedir configuration [parse_ini_file] ***
50
 
---- ACTUAL OUTPUT
51
 
*** Testing open_basedir configuration [parse_ini_file] ***
52
 
bool(true)
53
 
bool(true)
54
 
bool(true)
55
 
bool(true)
56
 
bool(true)
57
 
 
58
 
Warning: parse_ini_file(): open_basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in /local/work/source/php5_5.2.6/php5-5.2.6-1ubuntu1/ext/standard/tests/file/open_basedir_parse_ini_file.php on line 6
59
 
 
60
 
Warning: parse_ini_file(../bad): failed to open stream: Operation not permitted in /local/work/source/php5_5.2.6/php5-5.2.6-1ubuntu1/ext/standard/tests/file/open_basedir_parse_ini_file.php on line 6
61
 
array(0) {
62
 
}
63
 
 
64
 
Warning: parse_ini_file(): open_basedir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in /local/work/source/php5_5.2.6/php5-5.2.6-1ubuntu1/ext/standard/tests/file/open_basedir_parse_ini_file.php on line 7
65
 
 
66
 
Warning: parse_ini_file(../bad/bad.txt): failed to open stream: Operation not permitted in /local/work/source/php5_5.2.6/php5-5.2.6-1ubuntu1/ext/standard/tests/file/open_basedir_parse_ini_file.php on line 7
67
 
array(0) {
68
 
}
69
 
 
70
 
Warning: parse_ini_file(..): failed to open stream: Operation not permitted in /local/work/source/php5_5.2.6/php5-5.2.6-1ubuntu1/ext/standard/tests/file/open_basedir_parse_ini_file.php on line 8
71
 
array(0) {
72
 
}
73
 
 
74
 
Warning: parse_ini_file(): open_basedir restriction in effect. File(..) is not within the allowed path(s): (.) in /local/work/source/php5_5.2.6/php5-5.2.6-1ubuntu1/ext/standard/tests/file/open_basedir_parse_ini_file.php on line 9
75
 
 
76
 
Warning: parse_ini_file(../): failed to open stream: Operation not permitted in /local/work/source/php5_5.2.6/php5-5.2.6-1ubuntu1/ext/standard/tests/file/open_basedir_parse_ini_file.php on line 9
77
 
array(0) {
78
 
}
79
 
 
80
 
Warning: parse_ini_file(): open_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in /local/work/source/php5_5.2.6/php5-5.2.6-1ubuntu1/ext/standard/tests/file/open_basedir_parse_ini_file.php on line 10
81
 
 
82
 
Warning: parse_ini_file(../bad/.): failed to open stream: Operation not permitted in /local/work/source/php5_5.2.6/php5-5.2.6-1ubuntu1/ext/standard/tests/file/open_basedir_parse_ini_file.php on line 10
83
 
array(0) {
84
 
}
85
 
 
86
 
Warning: parse_ini_file(): open_basedir restriction in effect. File(../bad/./bad.txt) is not within the allowed path(s): (.) in /local/work/source/php5_5.2.6/php5-5.2.6-1ubuntu1/ext/standard/tests/file/open_basedir_parse_ini_file.php on line 11
87
 
 
88
 
Warning: parse_ini_file(../bad/./bad.txt): failed to open stream: Operation not permitted in /local/work/source/php5_5.2.6/php5-5.2.6-1ubuntu1/ext/standard/tests/file/open_basedir_parse_ini_file.php on line 11
89
 
array(0) {
90
 
}
91
 
 
92
 
Warning: parse_ini_file(): open_basedir restriction in effect. File(./../.) is not within the allowed path(s): (.) in /local/work/source/php5_5.2.6/php5-5.2.6-1ubuntu1/ext/standard/tests/file/open_basedir_parse_ini_file.php on line 12
93
 
 
94
 
Warning: parse_ini_file(./../.): failed to open stream: Operation not permitted in /local/work/source/php5_5.2.6/php5-5.2.6-1ubuntu1/ext/standard/tests/file/open_basedir_parse_ini_file.php on line 12
95
 
array(0) {
96
 
}
97
 
*** Finished testing open_basedir configuration [parse_ini_file] ***
98
 
---- FAILED