From e0064e5245b1c650e30d34a2016e41d3b72f3e01 Mon Sep 17 00:00:00 2001 From: Hannes Magnusson Date: Mon, 1 Oct 2007 09:21:45 +0000 Subject: [PATCH] Regression in glob() (Lukas) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@243284 c90b9560-bf6c-de11-be94-00142212c4b1 --- appendices/migration52.xml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/appendices/migration52.xml b/appendices/migration52.xml index 5fc842d861..f8360daab5 100644 --- a/appendices/migration52.xml +++ b/appendices/migration52.xml @@ -1,5 +1,5 @@ - + Migrating from PHP 5.1.x to PHP 5.2.x @@ -218,6 +218,16 @@ include "data:;base64,PD9waHAgcGhwaW5mbygpOz8+"; + + + Regression in glob() patterns + + + In version 5.2.4 a security fix caused a regression for patterns of + the form "/foo/*/bar/*". Since version 5.2.5 instead of raising a warning the + glob() function will return false when openbase_dir restrictions are violated. + +