]> granicus.if.org Git - php/commitdiff
MFB: Don't show file names being examined
authorIlia Alshanetsky <iliaa@php.net>
Wed, 14 Nov 2007 23:45:39 +0000 (23:45 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Wed, 14 Nov 2007 23:45:39 +0000 (23:45 +0000)
ext/standard/dir.c

index 2e51a406a4ae4f6e49aba4ffdc7900a6bb260fec..1ff9d7e1d2288e699e3ab957a487b94ca5f76586 100644 (file)
@@ -467,7 +467,7 @@ no_results:
        array_init(return_value);
        for (n = 0; n < globbuf.gl_pathc; n++) {
                if (PG(safe_mode) || (PG(open_basedir) && *PG(open_basedir))) {
-                       if (PG(safe_mode) && (!php_checkuid(globbuf.gl_pathv[n], NULL, CHECKUID_CHECK_FILE_AND_DIR))) {
+                       if (PG(safe_mode) && (!php_checkuid_ex(globbuf.gl_pathv[n], NULL, CHECKUID_CHECK_FILE_AND_DIR, CHECKUID_NO_ERRORS))) {
                                basedir_limit = 1;
                                continue;
                        } else if (php_check_open_basedir_ex(globbuf.gl_pathv[n], 0 TSRMLS_CC)) {