Test: /ext/standard/tests/file/bug52624.phpt - Version 5.4.0RC2        

Bug #52624 tempnam() by-pass open_basedir with inexistent directory
Submitted: 2010-08-17 14:39:52 Modified: 2011-11-15 17:00:15
From: hirad.navid Assigned: felipe
Status: Closed Package: Unknown/Other Function
PHP Version: 5.2.14 OS: RHEL 5

There are 15 different diffs reported by users for this test.

Count Diff
7 (32%)
001+ Warning: tempnam(): open_basedir restriction in effect. File(/var/tmp/) is not within the allowed path(s): (.) in %s/bug52624.php on line 3
001- Warning: tempnam(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (%s) in %s on line %d
2 (9%)
001+ Warning: tempnam(): open_basedir restriction in effect. File(/var/folders/67/fkpy0d_52kq5jq5zx96l58y40000gn/T) is not within the allowed path(s): (.) in %s/bug52624.php on line 3
001- Warning: tempnam(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (%s) in %s on line %d
1 (5%)
001+ Warning: tempnam(): open_basedir restriction in effect. File(/var/folders/1j/d4s3f9z93lv33qt4vj4s7q8w0000gn/T) is not within the allowed path(s): (.) in %s/bug52624.php on line 3
001- Warning: tempnam(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (%s) in %s on line %d
1 (5%)
001+ Warning: tempnam(): open_basedir restriction in effect. File(/var/folders/4_/0b6xfc191wg8s6h2zt67tprw0000gn/T) is not within the allowed path(s): (.) in %s/bug52624.php on line 3
001- Warning: tempnam(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (%s) in %s on line %d
1 (5%)
001+ Warning: tempnam(): open_basedir restriction in effect. File(/var/folders/_3/x06zm_6j06nbz9mtskmysxr40000gn/T) is not within the allowed path(s): (.) in %s/bug52624.php on line 3
001- Warning: tempnam(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (%s) in %s on line %d
1 (5%)
001+ Warning: tempnam(): open_basedir restriction in effect. File(/var/folders/_w/7ckvy48j6zl95w1ltxl5f_tc0000gn/T) is not within the allowed path(s): (.) in %s/bug52624.php on line 3
001- Warning: tempnam(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (%s) in %s on line %d
1 (5%)
001+ Warning: tempnam(): open_basedir restriction in effect. File(/var/folders/b1/sbtc17_96zz7twptrmbvc7sw0000gn/T) is not within the allowed path(s): (.) in %s/bug52624.php on line 3
001- Warning: tempnam(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (%s) in %s on line %d
1 (5%)
001+ Warning: tempnam(): open_basedir restriction in effect. File(/var/folders/cn/5320gpsd169bm334j_kg_l3h0000gn/T) is not within the allowed path(s): (.) in %s/bug52624.php on line 3
001- Warning: tempnam(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (%s) in %s on line %d
1 (5%)
001+ Warning: tempnam(): open_basedir restriction in effect. File(/var/folders/cp/xtq3h35d3kvbwxst9rm2_73w0000gn/T) is not within the allowed path(s): (.) in %s/bug52624.php on line 3
001- Warning: tempnam(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (%s) in %s on line %d
1 (5%)
001+ Warning: tempnam(): open_basedir restriction in effect. File(/var/folders/g6/j9rt363j6x9dnqbk69m2wzph0000gn/T) is not within the allowed path(s): (.) in %s/bug52624.php on line 3
001- Warning: tempnam(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (%s) in %s on line %d
1 (5%)
001+ Warning: tempnam(): open_basedir restriction in effect. File(/var/folders/jY/jYNxMyFzH3Ob7UqzRxSGL++++TI/-Tmp-) is not within the allowed path(s): (.) in %s/bug52624.php on line 3
001- Warning: tempnam(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (%s) in %s on line %d
1 (5%)
001+ Warning: tempnam(): open_basedir restriction in effect. File(/var/folders/rl/7sd79lxs7kl3868hjvqfr1f40000gn/T) is not within the allowed path(s): (.) in %s/bug52624.php on line 3
001- Warning: tempnam(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (%s) in %s on line %d
1 (5%)
001+ Warning: tempnam(): open_basedir restriction in effect. File(/var/folders/th/ny1gt8ds75vgvjgmw9k5nxkw0000gn/T) is not within the allowed path(s): (.) in %s/bug52624.php on line 3
001- Warning: tempnam(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (%s) in %s on line %d
1 (5%)
001+ Warning: tempnam(): open_basedir restriction in effect. File(/var/folders/v3/dz4vdxhn5yvdch3lw9y9qfm00000gn/T) is not within the allowed path(s): (.) in %s/bug52624.php on line 3
001- Warning: tempnam(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (%s) in %s on line %d
1 (5%)
001+ Warning: tempnam(): open_basedir restriction in effect. File(/var/folders/wy/6f8tmh0d6r12pjj08psg4fq40000gp/T) is not within the allowed path(s): (.) in %s/bug52624.php on line 3
001- Warning: tempnam(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (%s) in %s on line %d