~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_fopen.out

  • 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
 
*** Testing open_basedir configuration [fopen] ***
2
 
bool(true)
3
 
bool(true)
4
 
bool(true)
5
 
bool(true)
6
 
bool(true)
7
 
 
8
 
Warning: fopen(): 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_fopen.php on line 6
9
 
 
10
 
Warning: fopen(../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_fopen.php on line 6
11
 
bool(false)
12
 
 
13
 
Warning: fopen(): 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_fopen.php on line 7
14
 
 
15
 
Warning: fopen(../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_fopen.php on line 7
16
 
bool(false)
17
 
 
18
 
Warning: fopen(): 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_fopen.php on line 8
19
 
 
20
 
Warning: fopen(..): 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_fopen.php on line 8
21
 
bool(false)
22
 
 
23
 
Warning: fopen(): 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_fopen.php on line 9
24
 
 
25
 
Warning: fopen(../): 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_fopen.php on line 9
26
 
bool(false)
27
 
 
28
 
Warning: fopen(): 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_fopen.php on line 10
29
 
 
30
 
Warning: fopen(/): 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_fopen.php on line 10
31
 
bool(false)
32
 
 
33
 
Warning: fopen(): 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_fopen.php on line 11
34
 
 
35
 
Warning: fopen(../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_fopen.php on line 11
36
 
bool(false)
37
 
 
38
 
Warning: fopen(): 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_fopen.php on line 12
39
 
 
40
 
Warning: fopen(../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_fopen.php on line 12
41
 
bool(false)
42
 
 
43
 
Warning: fopen(): 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_fopen.php on line 13
44
 
 
45
 
Warning: fopen(./../.): 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_fopen.php on line 13
46
 
bool(false)
47
 
resource(8) of type (stream)
48
 
resource(9) of type (stream)
49
 
resource(10) of type (stream)
50
 
resource(11) of type (stream)
51
 
resource(12) of type (stream)
52
 
*** Finished testing open_basedir configuration [fopen] ***
 
 
b'\\ No newline at end of file'