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

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 19 different diffs reported by users for this test.

Count Diff
11 (38%)
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
1 (3%)
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 (3%)
001+ Warning: tempnam(): open_basedir restriction in effect. File(/var/folders/2N/2NeTZ1eqFp8zfiX+Vmy59l4ObtE/-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 (3%)
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 (3%)
001+ Warning: tempnam(): open_basedir restriction in effect. File(/var/folders/69/2d3slxk08xn5lp006s6chc600000gn/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 (3%)
001+ Warning: tempnam(): open_basedir restriction in effect. File(/var/folders/6n/fryjbrf13svfhnwxcwnhj9vc0000gn/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 (3%)
001+ Warning: tempnam(): open_basedir restriction in effect. File(/var/folders/71/71sVDRzdFeaFN6n51lOcfU+++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 (3%)
001+ Warning: tempnam(): open_basedir restriction in effect. File(/var/folders/7j/7j9cucaKEhGGjVDi1g0SEE+++TM/-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 (3%)
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 (3%)
001+ Warning: tempnam(): open_basedir restriction in effect. File(/var/folders/f1/f1JYFrSXGa4iKwru3K8AKk+++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 (3%)
001+ Warning: tempnam(): open_basedir restriction in effect. File(/var/folders/h6/9l3w8pvx4hv96bgg67c0cd0r0000gn/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 (3%)
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 (3%)
001+ Warning: tempnam(): open_basedir restriction in effect. File(/var/folders/jq/kpk2smjs17706d3l73jr13rm0000gn/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 (3%)
001+ Warning: tempnam(): open_basedir restriction in effect. File(/var/folders/ml/3v52t0bj0vqf_60v1f_rcxwm0000gn/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 (3%)
001+ Warning: tempnam(): open_basedir restriction in effect. File(/var/folders/nq/96y585x90rl8fg0c8bslx8gh0000gn/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 (3%)
001+ Warning: tempnam(): open_basedir restriction in effect. File(/var/folders/q+/q+nfUId1EgO7t-3uhnaCmZUAus2/-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 (3%)
001+ Warning: tempnam(): open_basedir restriction in effect. File(/var/folders/sl/nc2s04jx04bdh27k27ll7v3c0000gn/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 (3%)
001+ Warning: tempnam(): open_basedir restriction in effect. File(/var/folders/x2/r7qfjfq94pj50ggn812sp_040000gn/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 (3%)
001+ Warning: tempnam(): open_basedir restriction in effect. File(/var/folders/zd/dzbfrpv51wx9fbm9_hwg19t00000gn/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