fullpath 376 ext/com_dotnet/com_persist.c char *filename, *fullpath = NULL; fullpath 393 ext/com_dotnet/com_persist.c fullpath = expand_filepath(filename, NULL); fullpath 394 ext/com_dotnet/com_persist.c if (!fullpath) { fullpath 398 ext/com_dotnet/com_persist.c if (php_check_open_basedir(fullpath)) { fullpath 399 ext/com_dotnet/com_persist.c efree(fullpath); fullpath 403 ext/com_dotnet/com_persist.c olefilename = php_com_string_to_olestring(filename, strlen(fullpath), helper->codepage); fullpath 404 ext/com_dotnet/com_persist.c efree(fullpath); fullpath 439 ext/com_dotnet/com_persist.c char *filename, *fullpath; fullpath 456 ext/com_dotnet/com_persist.c if (!(fullpath = expand_filepath(filename, NULL))) { fullpath 460 ext/com_dotnet/com_persist.c if (php_check_open_basedir(fullpath)) { fullpath 461 ext/com_dotnet/com_persist.c efree(fullpath); fullpath 465 ext/com_dotnet/com_persist.c olefilename = php_com_string_to_olestring(fullpath, strlen(fullpath), helper->codepage); fullpath 466 ext/com_dotnet/com_persist.c efree(fullpath); fullpath 740 ext/pdo_sqlite/sqlite_driver.c char *fullpath = expand_filepath(filename, NULL); fullpath 742 ext/pdo_sqlite/sqlite_driver.c if (!fullpath) { fullpath 746 ext/pdo_sqlite/sqlite_driver.c if (php_check_open_basedir(fullpath)) { fullpath 747 ext/pdo_sqlite/sqlite_driver.c efree(fullpath); fullpath 750 ext/pdo_sqlite/sqlite_driver.c return fullpath; fullpath 4068 ext/phar/phar_object.c char *fullpath; fullpath 4115 ext/phar/phar_object.c len = spprintf(&fullpath, 0, "%s/%s", dest, filename); fullpath 4120 ext/phar/phar_object.c fullpath[50] = '\0'; fullpath 4123 ext/phar/phar_object.c spprintf(error, 4096, "Cannot extract \"%s...\" to \"%s...\", extracted filename is too long for filesystem", tmp, fullpath); fullpath 4126 ext/phar/phar_object.c spprintf(error, 4096, "Cannot extract \"%s\" to \"%s...\", extracted filename is too long for filesystem", entry->filename, fullpath); fullpath 4128 ext/phar/phar_object.c efree(fullpath); fullpath 4135 ext/phar/phar_object.c efree(fullpath); fullpath 4140 ext/phar/phar_object.c if (PHAR_OPENBASEDIR_CHECKPATH(fullpath)) { fullpath 4141 ext/phar/phar_object.c spprintf(error, 4096, "Cannot extract \"%s\" to \"%s\", openbasedir/safe mode restrictions in effect", entry->filename, fullpath); fullpath 4142 ext/phar/phar_object.c efree(fullpath); fullpath 4148 ext/phar/phar_object.c if (!overwrite && SUCCESS == php_stream_stat_path(fullpath, &ssb)) { fullpath 4149 ext/phar/phar_object.c spprintf(error, 4096, "Cannot extract \"%s\" to \"%s\", path already exists", entry->filename, fullpath); fullpath 4150 ext/phar/phar_object.c efree(fullpath); fullpath 4159 ext/phar/phar_object.c fullpath[dest_len + (slash - filename) + 1] = '\0'; fullpath 4161 ext/phar/phar_object.c fullpath[dest_len] = '\0'; fullpath 4164 ext/phar/phar_object.c if (FAILURE == php_stream_stat_path(fullpath, &ssb)) { fullpath 4166 ext/phar/phar_object.c if (!php_stream_mkdir(fullpath, entry->flags & PHAR_ENT_PERM_MASK, PHP_STREAM_MKDIR_RECURSIVE, NULL)) { fullpath 4167 ext/phar/phar_object.c spprintf(error, 4096, "Cannot extract \"%s\", could not create directory \"%s\"", entry->filename, fullpath); fullpath 4168 ext/phar/phar_object.c efree(fullpath); fullpath 4173 ext/phar/phar_object.c if (!php_stream_mkdir(fullpath, 0777, PHP_STREAM_MKDIR_RECURSIVE, NULL)) { fullpath 4174 ext/phar/phar_object.c spprintf(error, 4096, "Cannot extract \"%s\", could not create directory \"%s\"", entry->filename, fullpath); fullpath 4175 ext/phar/phar_object.c efree(fullpath); fullpath 4183 ext/phar/phar_object.c fullpath[dest_len + (slash - filename) + 1] = '/'; fullpath 4185 ext/phar/phar_object.c fullpath[dest_len] = '/'; fullpath 4192 ext/phar/phar_object.c efree(fullpath); fullpath 4197 ext/phar/phar_object.c fp = php_stream_open_wrapper(fullpath, "w+b", REPORT_ERRORS|ENFORCE_SAFE_MODE, NULL); fullpath 4199 ext/phar/phar_object.c fp = php_stream_open_wrapper(fullpath, "w+b", REPORT_ERRORS, NULL); fullpath 4203 ext/phar/phar_object.c spprintf(error, 4096, "Cannot extract \"%s\", could not open for writing \"%s\"", entry->filename, fullpath); fullpath 4204 ext/phar/phar_object.c efree(fullpath); fullpath 4211 ext/phar/phar_object.c spprintf(error, 4096, "Cannot extract \"%s\" to \"%s\", unable to open internal file pointer: %s", entry->filename, fullpath, *error); fullpath 4213 ext/phar/phar_object.c spprintf(error, 4096, "Cannot extract \"%s\" to \"%s\", unable to open internal file pointer", entry->filename, fullpath); fullpath 4215 ext/phar/phar_object.c efree(fullpath); fullpath 4222 ext/phar/phar_object.c spprintf(error, 4096, "Cannot extract \"%s\" to \"%s\", unable to seek internal file pointer", entry->filename, fullpath); fullpath 4223 ext/phar/phar_object.c efree(fullpath); fullpath 4229 ext/phar/phar_object.c spprintf(error, 4096, "Cannot extract \"%s\" to \"%s\", copying contents failed", entry->filename, fullpath); fullpath 4230 ext/phar/phar_object.c efree(fullpath); fullpath 4238 ext/phar/phar_object.c if (FAILURE == VCWD_CHMOD(fullpath, mode)) { fullpath 4239 ext/phar/phar_object.c spprintf(error, 4096, "Cannot extract \"%s\" to \"%s\", setting file permissions failed", entry->filename, fullpath); fullpath 4240 ext/phar/phar_object.c efree(fullpath); fullpath 4244 ext/phar/phar_object.c efree(fullpath); fullpath 103 ext/sqlite3/sqlite3.c char *filename, *encryption_key, *fullpath; fullpath 122 ext/sqlite3/sqlite3.c if (!(fullpath = expand_filepath(filename, NULL))) { fullpath 128 ext/sqlite3/sqlite3.c if (PG(safe_mode) && (!php_checkuid(fullpath, NULL, CHECKUID_CHECK_FILE_AND_DIR))) { fullpath 129 ext/sqlite3/sqlite3.c zend_throw_exception_ex(zend_ce_exception, 0, "safe_mode prohibits opening %s", fullpath); fullpath 130 ext/sqlite3/sqlite3.c efree(fullpath); fullpath 135 ext/sqlite3/sqlite3.c if (php_check_open_basedir(fullpath)) { fullpath 136 ext/sqlite3/sqlite3.c zend_throw_exception_ex(zend_ce_exception, 0, "open_basedir prohibits opening %s", fullpath); fullpath 137 ext/sqlite3/sqlite3.c efree(fullpath); fullpath 141 ext/sqlite3/sqlite3.c fullpath = estrdup(filename); fullpath 145 ext/sqlite3/sqlite3.c if (sqlite3_open_v2(fullpath, &(db_obj->db), flags, NULL) != SQLITE_OK) { fullpath 147 ext/sqlite3/sqlite3.c if (sqlite3_open(fullpath, &(db_obj->db)) != SQLITE_OK) { fullpath 150 ext/sqlite3/sqlite3.c if (fullpath) { fullpath 151 ext/sqlite3/sqlite3.c efree(fullpath); fullpath 175 ext/sqlite3/sqlite3.c if (fullpath) { fullpath 176 ext/sqlite3/sqlite3.c efree(fullpath); fullpath 350 ext/sqlite3/sqlite3.c char fullpath[MAXPATHLEN]; fullpath 388 ext/sqlite3/sqlite3.c if (!VCWD_REALPATH(lib_path, fullpath)) { fullpath 396 ext/sqlite3/sqlite3.c if (strncmp(fullpath, extension_dir, extension_dir_len) != 0) { fullpath 403 ext/sqlite3/sqlite3.c if (sqlite3_load_extension(db_obj->db, fullpath, 0, &errtext) != SQLITE_OK) { fullpath 143 ext/zip/php_zip.c char *fullpath; fullpath 215 ext/zip/php_zip.c len = spprintf(&fullpath, 0, "%s/%s", file_dirname_fullpath, ZSTR_VAL(file_basename)); fullpath 233 ext/zip/php_zip.c if (ZIP_OPENBASEDIR_CHECKPATH(fullpath)) { fullpath 234 ext/zip/php_zip.c efree(fullpath); fullpath 241 ext/zip/php_zip.c stream = php_stream_open_wrapper(fullpath, "w+b", REPORT_ERRORS, NULL); fullpath 265 ext/zip/php_zip.c efree(fullpath); fullpath 649 ext/zip/php_zip.c char fullpath[MAXPATHLEN]; fullpath 667 ext/zip/php_zip.c snprintf(fullpath, MAXPATHLEN, "%s%c%s", path, DEFAULT_SLASH, ZSTR_VAL(namelist[i])); fullpath 669 ext/zip/php_zip.c if (0 != VCWD_STAT(fullpath, &s)) { fullpath 670 ext/zip/php_zip.c php_error_docref(NULL, E_WARNING, "Cannot read <%s>", fullpath); fullpath 687 ext/zip/php_zip.c add_next_index_string(return_value, fullpath);