fullpath 372 ext/com_dotnet/com_persist.c char *filename, *fullpath = NULL; fullpath 389 ext/com_dotnet/com_persist.c fullpath = expand_filepath(filename, NULL TSRMLS_CC); fullpath 390 ext/com_dotnet/com_persist.c if (!fullpath) { fullpath 394 ext/com_dotnet/com_persist.c if (php_check_open_basedir(fullpath TSRMLS_CC)) { fullpath 395 ext/com_dotnet/com_persist.c efree(fullpath); fullpath 399 ext/com_dotnet/com_persist.c olefilename = php_com_string_to_olestring(filename, strlen(fullpath), helper->codepage TSRMLS_CC); fullpath 400 ext/com_dotnet/com_persist.c efree(fullpath); fullpath 435 ext/com_dotnet/com_persist.c char *filename, *fullpath; fullpath 452 ext/com_dotnet/com_persist.c if (!(fullpath = expand_filepath(filename, NULL TSRMLS_CC))) { fullpath 456 ext/com_dotnet/com_persist.c if (php_check_open_basedir(fullpath TSRMLS_CC)) { fullpath 457 ext/com_dotnet/com_persist.c efree(fullpath); fullpath 461 ext/com_dotnet/com_persist.c olefilename = php_com_string_to_olestring(fullpath, strlen(fullpath), helper->codepage TSRMLS_CC); fullpath 462 ext/com_dotnet/com_persist.c efree(fullpath); fullpath 764 ext/pdo_sqlite/sqlite_driver.c char *fullpath = expand_filepath(filename, NULL TSRMLS_CC); fullpath 766 ext/pdo_sqlite/sqlite_driver.c if (!fullpath) { fullpath 770 ext/pdo_sqlite/sqlite_driver.c if (php_check_open_basedir(fullpath TSRMLS_CC)) { fullpath 771 ext/pdo_sqlite/sqlite_driver.c efree(fullpath); fullpath 774 ext/pdo_sqlite/sqlite_driver.c return fullpath; fullpath 4119 ext/phar/phar_object.c char *fullpath; fullpath 4166 ext/phar/phar_object.c len = spprintf(&fullpath, 0, "%s/%s", dest, filename); fullpath 4171 ext/phar/phar_object.c fullpath[50] = '\0'; fullpath 4174 ext/phar/phar_object.c spprintf(error, 4096, "Cannot extract \"%s...\" to \"%s...\", extracted filename is too long for filesystem", tmp, fullpath); fullpath 4177 ext/phar/phar_object.c spprintf(error, 4096, "Cannot extract \"%s\" to \"%s...\", extracted filename is too long for filesystem", entry->filename, fullpath); fullpath 4179 ext/phar/phar_object.c efree(fullpath); fullpath 4186 ext/phar/phar_object.c efree(fullpath); fullpath 4191 ext/phar/phar_object.c if (PHAR_OPENBASEDIR_CHECKPATH(fullpath)) { fullpath 4192 ext/phar/phar_object.c spprintf(error, 4096, "Cannot extract \"%s\" to \"%s\", openbasedir/safe mode restrictions in effect", entry->filename, fullpath); fullpath 4193 ext/phar/phar_object.c efree(fullpath); fullpath 4199 ext/phar/phar_object.c if (!overwrite && SUCCESS == php_stream_stat_path(fullpath, &ssb)) { fullpath 4200 ext/phar/phar_object.c spprintf(error, 4096, "Cannot extract \"%s\" to \"%s\", path already exists", entry->filename, fullpath); fullpath 4201 ext/phar/phar_object.c efree(fullpath); fullpath 4210 ext/phar/phar_object.c fullpath[dest_len + (slash - filename) + 1] = '\0'; fullpath 4212 ext/phar/phar_object.c fullpath[dest_len] = '\0'; fullpath 4215 ext/phar/phar_object.c if (FAILURE == php_stream_stat_path(fullpath, &ssb)) { fullpath 4217 ext/phar/phar_object.c if (!php_stream_mkdir(fullpath, entry->flags & PHAR_ENT_PERM_MASK, PHP_STREAM_MKDIR_RECURSIVE, NULL)) { fullpath 4218 ext/phar/phar_object.c spprintf(error, 4096, "Cannot extract \"%s\", could not create directory \"%s\"", entry->filename, fullpath); fullpath 4219 ext/phar/phar_object.c efree(fullpath); fullpath 4224 ext/phar/phar_object.c if (!php_stream_mkdir(fullpath, 0777, PHP_STREAM_MKDIR_RECURSIVE, NULL)) { fullpath 4225 ext/phar/phar_object.c spprintf(error, 4096, "Cannot extract \"%s\", could not create directory \"%s\"", entry->filename, fullpath); fullpath 4226 ext/phar/phar_object.c efree(fullpath); fullpath 4234 ext/phar/phar_object.c fullpath[dest_len + (slash - filename) + 1] = '/'; fullpath 4236 ext/phar/phar_object.c fullpath[dest_len] = '/'; fullpath 4243 ext/phar/phar_object.c efree(fullpath); fullpath 4248 ext/phar/phar_object.c fp = php_stream_open_wrapper(fullpath, "w+b", REPORT_ERRORS|ENFORCE_SAFE_MODE, NULL); fullpath 4250 ext/phar/phar_object.c fp = php_stream_open_wrapper(fullpath, "w+b", REPORT_ERRORS, NULL); fullpath 4254 ext/phar/phar_object.c spprintf(error, 4096, "Cannot extract \"%s\", could not open for writing \"%s\"", entry->filename, fullpath); fullpath 4255 ext/phar/phar_object.c efree(fullpath); fullpath 4262 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 4264 ext/phar/phar_object.c spprintf(error, 4096, "Cannot extract \"%s\" to \"%s\", unable to open internal file pointer", entry->filename, fullpath); fullpath 4266 ext/phar/phar_object.c efree(fullpath); fullpath 4273 ext/phar/phar_object.c spprintf(error, 4096, "Cannot extract \"%s\" to \"%s\", unable to seek internal file pointer", entry->filename, fullpath); fullpath 4274 ext/phar/phar_object.c efree(fullpath); fullpath 4280 ext/phar/phar_object.c spprintf(error, 4096, "Cannot extract \"%s\" to \"%s\", copying contents failed", entry->filename, fullpath); fullpath 4281 ext/phar/phar_object.c efree(fullpath); fullpath 4289 ext/phar/phar_object.c if (FAILURE == VCWD_CHMOD(fullpath, mode)) { fullpath 4290 ext/phar/phar_object.c spprintf(error, 4096, "Cannot extract \"%s\" to \"%s\", setting file permissions failed", entry->filename, fullpath); fullpath 4291 ext/phar/phar_object.c efree(fullpath); fullpath 4295 ext/phar/phar_object.c efree(fullpath); fullpath 104 ext/sqlite3/sqlite3.c char *filename, *encryption_key, *fullpath; fullpath 128 ext/sqlite3/sqlite3.c if (!(fullpath = expand_filepath(filename, NULL TSRMLS_CC))) { fullpath 134 ext/sqlite3/sqlite3.c if (PG(safe_mode) && (!php_checkuid(fullpath, NULL, CHECKUID_CHECK_FILE_AND_DIR))) { fullpath 135 ext/sqlite3/sqlite3.c zend_throw_exception_ex(zend_exception_get_default(TSRMLS_C), 0 TSRMLS_CC, "safe_mode prohibits opening %s", fullpath); fullpath 136 ext/sqlite3/sqlite3.c efree(fullpath); fullpath 141 ext/sqlite3/sqlite3.c if (php_check_open_basedir(fullpath TSRMLS_CC)) { fullpath 142 ext/sqlite3/sqlite3.c zend_throw_exception_ex(zend_exception_get_default(TSRMLS_C), 0 TSRMLS_CC, "open_basedir prohibits opening %s", fullpath); fullpath 143 ext/sqlite3/sqlite3.c efree(fullpath); fullpath 147 ext/sqlite3/sqlite3.c fullpath = estrdup(filename); fullpath 151 ext/sqlite3/sqlite3.c if (sqlite3_open_v2(fullpath, &(db_obj->db), flags, NULL) != SQLITE_OK) { fullpath 153 ext/sqlite3/sqlite3.c if (sqlite3_open(fullpath, &(db_obj->db)) != SQLITE_OK) { fullpath 156 ext/sqlite3/sqlite3.c if (fullpath) { fullpath 157 ext/sqlite3/sqlite3.c efree(fullpath); fullpath 181 ext/sqlite3/sqlite3.c if (fullpath) { fullpath 182 ext/sqlite3/sqlite3.c efree(fullpath); fullpath 356 ext/sqlite3/sqlite3.c char fullpath[MAXPATHLEN]; fullpath 394 ext/sqlite3/sqlite3.c if (!VCWD_REALPATH(lib_path, fullpath)) { fullpath 402 ext/sqlite3/sqlite3.c if (strncmp(fullpath, extension_dir, extension_dir_len) != 0) { fullpath 409 ext/sqlite3/sqlite3.c if (sqlite3_load_extension(db_obj->db, fullpath, 0, &errtext) != SQLITE_OK) { fullpath 171 ext/zip/php_zip.c char *fullpath; fullpath 256 ext/zip/php_zip.c len = spprintf(&fullpath, 0, "%s/%s", file_dirname_fullpath, file_basename); fullpath 274 ext/zip/php_zip.c if (ZIP_OPENBASEDIR_CHECKPATH(fullpath)) { fullpath 275 ext/zip/php_zip.c efree(fullpath); fullpath 283 ext/zip/php_zip.c stream = php_stream_open_wrapper(fullpath, "w+b", REPORT_ERRORS|ENFORCE_SAFE_MODE, NULL); fullpath 285 ext/zip/php_zip.c stream = php_stream_open_wrapper(fullpath, "w+b", REPORT_ERRORS, NULL); fullpath 310 ext/zip/php_zip.c efree(fullpath); fullpath 686 ext/zip/php_zip.c char fullpath[MAXPATHLEN]; fullpath 705 ext/zip/php_zip.c snprintf(fullpath, MAXPATHLEN, "%s%c%s", path, DEFAULT_SLASH, namelist[i]); fullpath 707 ext/zip/php_zip.c if (0 != VCWD_STAT(fullpath, &s)) { fullpath 708 ext/zip/php_zip.c php_error_docref(NULL TSRMLS_CC, E_WARNING, "Cannot read <%s>", fullpath); fullpath 725 ext/zip/php_zip.c add_next_index_string(return_value, fullpath, 1);