~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_fileatime.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 [fileatime] ***
4
 
bool(true)
5
 
bool(true)
6
 
bool(true)
7
 
bool(true)
8
 
bool(true)
9
 
 
10
 
Warning: fileatime(): open_basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on line %d
11
 
bool(false)
12
 
 
13
 
Warning: fileatime(): open_basedir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d
14
 
bool(false)
15
 
 
16
 
Warning: fileatime(): open_basedir restriction in effect. File(..) is not within the allowed path(s): (.) in %s on line %d
17
 
bool(false)
18
 
 
19
 
Warning: fileatime(): open_basedir restriction in effect. File(../) is not within the allowed path(s): (.) in %s on line %d
20
 
bool(false)
21
 
 
22
 
Warning: fileatime(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (.) in %s on line %d
23
 
bool(false)
24
 
 
25
 
Warning: fileatime(): open_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on line %d
26
 
bool(false)
27
 
 
28
 
Warning: fileatime(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d
29
 
bool(false)
30
 
 
31
 
Warning: fileatime(): open_basedir restriction in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d
32
 
bool(false)
33
 
 
34
 
Warning: fileatime(): open_basedir restriction in effect. File(./../.) is not within the allowed path(s): (.) in %s on line %d
35
 
bool(false)
36
 
int(%d)
37
 
int(%d)
38
 
int(%d)
39
 
int(%d)
40
 
int(%d)
41
 
*** Finished testing open_basedir configuration [fileatime] ***
42
 
---- ACTUAL OUTPUT
43
 
*** Testing open_basedir configuration [fileatime] ***
44
 
bool(true)
45
 
bool(true)
46
 
bool(true)
47
 
bool(true)
48
 
bool(true)
49
 
 
50
 
Warning: fileatime(): 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.inc on line 77
51
 
bool(false)
52
 
 
53
 
Warning: fileatime(): 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.inc on line 78
54
 
bool(false)
55
 
 
56
 
Warning: fileatime(): 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.inc on line 79
57
 
bool(false)
58
 
 
59
 
Warning: fileatime(): 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.inc on line 80
60
 
bool(false)
61
 
 
62
 
Warning: fileatime(): 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.inc on line 81
63
 
bool(false)
64
 
 
65
 
Warning: fileatime(): 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.inc on line 82
66
 
bool(false)
67
 
 
68
 
Warning: fileatime(): open_basedir restriction in effect. File(/local/work/source/php5_5.2.6/php5-5.2.6-1ubuntu1/ext/standard/tests/file/test/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.inc on line 84
69
 
bool(false)
70
 
 
71
 
Warning: fileatime(): open_basedir restriction in effect. File(/local/work/source/php5_5.2.6/php5-5.2.6-1ubuntu1/ext/standard/tests/file/test/bad/../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.inc on line 85
72
 
bool(false)
73
 
 
74
 
Warning: fileatime(): 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.inc on line 122
75
 
bool(false)
76
 
int(1211899473)
77
 
int(1211899473)
78
 
int(1211899473)
79
 
int(1211899473)
80
 
int(1211899473)
81
 
*** Finished testing open_basedir configuration [fileatime] ***
82
 
---- FAILED