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

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

Count Diff
1 (9%)
001+ Warning: tempnam(): open_basedir restriction in effect. File(/var/folders/bZ/bZ7FHmJWFdaU-noCsyXRoE+++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 (9%)
001+ Warning: tempnam(): open_basedir restriction in effect. File(/var/folders/cg/cg42Ay-SEmGdR5qlqmjDPE+++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 (9%)
001+ Warning: tempnam(): open_basedir restriction in effect. File(/var/folders/fg/j9z6z46d02g6d5d89xzc0xsm0000gn/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 (9%)
001+ Warning: tempnam(): open_basedir restriction in effect. File(/var/folders/g7/zrq_77zs67bdbx1c8715dxlm0000gn/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 (9%)
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 (9%)
001+ Warning: tempnam(): open_basedir restriction in effect. File(/var/folders/s3/90tl95yd1rq473mndky147w00000gn/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 (9%)
001+ Warning: tempnam(): open_basedir restriction in effect. File(/var/folders/un/unuhZPG2EaSdpECvOyt1X++++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 (9%)
001+ Warning: tempnam(): open_basedir restriction in effect. File(/var/folders/vb/5d8rj_z537b35bmw7hxpflwh0000gn/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 (9%)
001+ Warning: tempnam(): open_basedir restriction in effect. File(/var/folders/wk/96wn59xd57g8383zfmzv24q40000gn/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 (9%)
001+ Warning: tempnam(): open_basedir restriction in effect. File(/var/folders/ym/tdvsbf6x0xzgvdyg4v8qs2h40000gp/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 (9%)
001+ Warning: tempnam(): open_basedir restriction in effect. File(/var/folders/yy/p8bpmn8d11d8x8mztz35d5p80000gn/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