MAXPATHLEN 44 TSRM/tsrm_config_common.h #ifndef MAXPATHLEN MAXPATHLEN 253 TSRM/tsrm_virtual_cwd.c dwRet = pGetFinalPathNameByHandle(hFile, target, MAXPATHLEN, VOLUME_NAME_DOS); MAXPATHLEN 254 TSRM/tsrm_virtual_cwd.c if(dwRet >= MAXPATHLEN) { MAXPATHLEN 263 TSRM/tsrm_virtual_cwd.c char tmp[MAXPATHLEN]; MAXPATHLEN 303 TSRM/tsrm_virtual_cwd.c char cur_path[MAXPATHLEN+1]; MAXPATHLEN 439 TSRM/tsrm_virtual_cwd.c char cwd[MAXPATHLEN]; MAXPATHLEN 1015 TSRM/tsrm_virtual_cwd.c if(i + j >= MAXPATHLEN - 1) { MAXPATHLEN 1062 TSRM/tsrm_virtual_cwd.c if (++(*ll) > LINK_MAX || (j = php_sys_readlink(tmp, path, MAXPATHLEN)) < 0) { MAXPATHLEN 1075 TSRM/tsrm_virtual_cwd.c if (i + j >= MAXPATHLEN-1) { MAXPATHLEN 1114 TSRM/tsrm_virtual_cwd.c if (j < 0 || j + len - i >= MAXPATHLEN-1) { MAXPATHLEN 1129 TSRM/tsrm_virtual_cwd.c if (j < 0 || j + len - i >= MAXPATHLEN-1) { MAXPATHLEN 1154 TSRM/tsrm_virtual_cwd.c char resolved_path[MAXPATHLEN]; MAXPATHLEN 1162 TSRM/tsrm_virtual_cwd.c if (path_length == 0 || path_length >= MAXPATHLEN-1) { MAXPATHLEN 1215 TSRM/tsrm_virtual_cwd.c if (path_length + state_cwd_length + 1 >= MAXPATHLEN-1) { MAXPATHLEN 1303 TSRM/tsrm_virtual_cwd.c if (path_length >= MAXPATHLEN-1) { MAXPATHLEN 1403 TSRM/tsrm_virtual_cwd.c char cwd[MAXPATHLEN]; MAXPATHLEN 1414 TSRM/tsrm_virtual_cwd.c if (VCWD_GETCWD(cwd, MAXPATHLEN)) { MAXPATHLEN 1430 TSRM/tsrm_virtual_cwd.c int len = new_state.cwd_length>MAXPATHLEN-1?MAXPATHLEN-1:new_state.cwd_length; MAXPATHLEN 1840 TSRM/tsrm_virtual_cwd.c char prev_cwd[MAXPATHLEN]; MAXPATHLEN 1844 TSRM/tsrm_virtual_cwd.c getcwd_result = VCWD_GETCWD(prev_cwd, MAXPATHLEN); MAXPATHLEN 1928 TSRM/tsrm_virtual_cwd.c char cwd[MAXPATHLEN]; MAXPATHLEN 1938 TSRM/tsrm_virtual_cwd.c if (VCWD_GETCWD(cwd, MAXPATHLEN)) { MAXPATHLEN 1942 TSRM/tsrm_virtual_cwd.c VCWD_GETCWD(cwd, MAXPATHLEN)) { MAXPATHLEN 1960 TSRM/tsrm_virtual_cwd.c int copy_len = new_state.cwd_length>MAXPATHLEN-1 ? MAXPATHLEN-1 : new_state.cwd_length; MAXPATHLEN 4240 Zend/zend_language_scanner.c dirname = erealloc(dirname, MAXPATHLEN); MAXPATHLEN 4242 Zend/zend_language_scanner.c VCWD_GETCWD(dirname, MAXPATHLEN); MAXPATHLEN 46 ext/dba/dba_dbm.c snprintf(buf, MAXPATHLEN, "%s" extension, info->path); \ MAXPATHLEN 47 ext/dba/dba_dbm.c buf[MAXPATHLEN-1] = '\0'; \ MAXPATHLEN 68 ext/dba/dba_dbm.c char buf[MAXPATHLEN]; MAXPATHLEN 76 ext/dba/dba_dbm.c char buf[MAXPATHLEN]; MAXPATHLEN 1556 ext/dom/document.c char *directory=NULL, resolved_path[MAXPATHLEN]; MAXPATHLEN 1577 ext/dom/document.c char *file_dest = _dom_get_valid_file_path(source, resolved_path, MAXPATHLEN TSRMLS_CC); MAXPATHLEN 1593 ext/dom/document.c directory = VCWD_GETCWD(resolved_path, MAXPATHLEN); MAXPATHLEN 1982 ext/dom/document.c char resolved_path[MAXPATHLEN + 1]; MAXPATHLEN 1997 ext/dom/document.c valid_file = _dom_get_valid_file_path(source, resolved_path, MAXPATHLEN TSRMLS_CC); MAXPATHLEN 2078 ext/dom/document.c char resolved_path[MAXPATHLEN + 1]; MAXPATHLEN 2093 ext/dom/document.c valid_file = _dom_get_valid_file_path(source, resolved_path, MAXPATHLEN TSRMLS_CC); MAXPATHLEN 297 ext/fileinfo/fileinfo.c char resolved_path[MAXPATHLEN]; MAXPATHLEN 1170 ext/fileinfo/libmagic/apprentice.c char mfn[MAXPATHLEN]; MAXPATHLEN 2842 ext/fileinfo/libmagic/apprentice.c spprintf(&buf, MAXPATHLEN, "%.*s.mime%s", (int)(q - fn), fn, ext); MAXPATHLEN 2853 ext/fileinfo/libmagic/apprentice.c spprintf(&buf, MAXPATHLEN, "%.*s%s", (int)(q - fn), fn, ext); MAXPATHLEN 3842 ext/gd/gd.c char tmp_font_path[MAXPATHLEN]; MAXPATHLEN 352 ext/gd/libgd/gdft.c char fullname[MAXPATHLEN], cur_dir[MAXPATHLEN]; MAXPATHLEN 395 ext/gd/libgd/gdft.c dir = VCWD_GETCWD(cur_dir, MAXPATHLEN); MAXPATHLEN 250 ext/gettext/gettext.c char *retval, dir_name[MAXPATHLEN]; MAXPATHLEN 267 ext/gettext/gettext.c } else if (!VCWD_GETCWD(dir_name, MAXPATHLEN)) { MAXPATHLEN 212 ext/intl/idn/idn.c UChar converted[MAXPATHLEN]; MAXPATHLEN 233 ext/intl/idn/idn.c converted_ret_len = uidna_IDNToASCII(ustring, ustring_len, converted, MAXPATHLEN, (int32_t)option, &parse_error, &status); MAXPATHLEN 235 ext/intl/idn/idn.c converted_ret_len = uidna_IDNToUnicode(ustring, ustring_len, converted, MAXPATHLEN, (int32_t)option, &parse_error, &status); MAXPATHLEN 153 ext/opcache/ZendAccelerator.c char cwd[MAXPATHLEN]; MAXPATHLEN 156 ext/opcache/ZendAccelerator.c if (VCWD_GETCWD(cwd, MAXPATHLEN)) { MAXPATHLEN 176 ext/opcache/ZendAccelerator.c char cwd[MAXPATHLEN + 1]; MAXPATHLEN 178 ext/opcache/ZendAccelerator.c if (!VCWD_GETCWD(cwd, MAXPATHLEN)) { MAXPATHLEN 1757 ext/opcache/ZendAccelerator.c char trypath[MAXPATHLEN]; MAXPATHLEN 1777 ext/opcache/ZendAccelerator.c if (len + 1 + filename_length + 1 >= MAXPATHLEN) { MAXPATHLEN 1799 ext/opcache/ZendAccelerator.c exec_fname_length + 1 + filename_length + 1 < MAXPATHLEN) { MAXPATHLEN 78 ext/opcache/ZendAccelerator.h # ifndef MAXPATHLEN MAXPATHLEN 83 ext/opcache/ZendAccelerator.h # ifndef MAXPATHLEN MAXPATHLEN 272 ext/opcache/ZendAccelerator.h char key[MAXPATHLEN * 8]; MAXPATHLEN 79 ext/opcache/shared_alloc_win32.c static char newname[MAXPATHLEN + UNLEN + 4]; MAXPATHLEN 90 ext/opcache/shared_alloc_win32.c static char windir[MAXPATHLEN+UNLEN + 3 + sizeof("\\\\@")]; MAXPATHLEN 95 ext/opcache/shared_alloc_win32.c GetTempPath(MAXPATHLEN, windir); MAXPATHLEN 246 ext/opcache/zend_accelerator_blacklist.c char buf[MAXPATHLEN + 1], real_path[MAXPATHLEN + 1], *blacklist_path = NULL; MAXPATHLEN 270 ext/opcache/zend_accelerator_blacklist.c while (fgets(buf, MAXPATHLEN, fp) != NULL) { MAXPATHLEN 539 ext/openssl/openssl.c static char default_ssl_conf_filename[MAXPATHLEN]; MAXPATHLEN 906 ext/openssl/openssl.c char buffer[MAXPATHLEN]; MAXPATHLEN 933 ext/openssl/openssl.c char buffer[MAXPATHLEN]; MAXPATHLEN 4689 ext/openssl/openssl.c char resolved_path_buff[MAXPATHLEN]; MAXPATHLEN 4701 ext/openssl/openssl.c char resolved_path_buff_pk[MAXPATHLEN]; MAXPATHLEN 2146 ext/phar/phar.c char newpath[MAXPATHLEN]; MAXPATHLEN 560 ext/phar/phar_internal.h char tmp[MAXPATHLEN]; MAXPATHLEN 4124 ext/phar/phar_object.c if (len >= MAXPATHLEN) { MAXPATHLEN 4287 ext/phar/phar_object.c if (pathto_len >= MAXPATHLEN) { MAXPATHLEN 235 ext/phar/stream.c spprintf(opened_path, MAXPATHLEN, "phar://%s/%s", idata->phar->fname, idata->internal_file->filename); MAXPATHLEN 253 ext/phar/stream.c spprintf(opened_path, MAXPATHLEN, "%s", phar->fname); MAXPATHLEN 279 ext/phar/stream.c spprintf(opened_path, MAXPATHLEN, "%s", phar->fname); MAXPATHLEN 336 ext/phar/stream.c spprintf(opened_path, MAXPATHLEN, "phar://%s/%s", idata->phar->fname, idata->internal_file->filename); MAXPATHLEN 659 ext/phar/stream.c test_len = spprintf(&test, MAXPATHLEN, "%s%s", entry->tmp, internal_file + keylen); MAXPATHLEN 318 ext/phar/util.c spprintf(&path, MAXPATHLEN, "phar://%s/%s%c%s", arch, PHAR_G(cwd), DEFAULT_DIR_SEPARATOR, PG(include_path)); MAXPATHLEN 1340 ext/phar/util.c test_len = spprintf(&test, MAXPATHLEN, "%s%s", entry->tmp, path + keylen); MAXPATHLEN 810 ext/posix/posix.c char buffer[MAXPATHLEN]; MAXPATHLEN 815 ext/posix/posix.c p = VCWD_GETCWD(buffer, MAXPATHLEN); MAXPATHLEN 117 ext/session/mod_files.c char buf[MAXPATHLEN]; MAXPATHLEN 175 ext/session/mod_files.c char dentry[sizeof(struct dirent) + MAXPATHLEN]; MAXPATHLEN 178 ext/session/mod_files.c char buf[MAXPATHLEN]; MAXPATHLEN 203 ext/session/mod_files.c if (entry_len + dirname_len + 2 < MAXPATHLEN) { MAXPATHLEN 227 ext/session/mod_files.c char buf[MAXPATHLEN]; MAXPATHLEN 422 ext/session/mod_files.c char buf[MAXPATHLEN]; MAXPATHLEN 3191 ext/soap/php_sdl.c char fn[MAXPATHLEN]; MAXPATHLEN 3225 ext/soap/php_sdl.c if ((cache_wsdl & WSDL_CACHE_DISK) && (uri_len < MAXPATHLEN)) { MAXPATHLEN 1245 ext/spl/spl_directory.c char buff[MAXPATHLEN]; MAXPATHLEN 1259 ext/spl/spl_directory.c char expanded_path[MAXPATHLEN]; MAXPATHLEN 1264 ext/spl/spl_directory.c ret = php_sys_readlink(expanded_path, buff, MAXPATHLEN - 1); MAXPATHLEN 1266 ext/spl/spl_directory.c ret = php_sys_readlink(intern->file_name, buff, MAXPATHLEN-1); MAXPATHLEN 1292 ext/spl/spl_directory.c char buff[MAXPATHLEN]; MAXPATHLEN 30150 ext/sqlite3/libsqlite/sqlite3.c char buf[MAXPATHLEN]; MAXPATHLEN 30315 ext/sqlite3/libsqlite/sqlite3.c #define PROXY_MAXCONCHLEN (PROXY_HEADERLEN+PROXY_HOSTIDLEN+MAXPATHLEN) MAXPATHLEN 30326 ext/sqlite3/libsqlite/sqlite3.c char tPath[MAXPATHLEN]; MAXPATHLEN 30337 ext/sqlite3/libsqlite/sqlite3.c pathLen = strlcpy(tPath, cPath, MAXPATHLEN); MAXPATHLEN 30338 ext/sqlite3/libsqlite/sqlite3.c if( pathLen>MAXPATHLEN || pathLen<6 || MAXPATHLEN 30471 ext/sqlite3/libsqlite/sqlite3.c char lockPath[MAXPATHLEN]; MAXPATHLEN 30523 ext/sqlite3/libsqlite/sqlite3.c if( pathLen>=MAXPATHLEN ){ MAXPATHLEN 30524 ext/sqlite3/libsqlite/sqlite3.c pathLen=MAXPATHLEN-1; MAXPATHLEN 30550 ext/sqlite3/libsqlite/sqlite3.c proxyGetLockPath(pCtx->dbPath, lockPath, MAXPATHLEN); MAXPATHLEN 30578 ext/sqlite3/libsqlite/sqlite3.c strlcpy(&writeBuffer[PROXY_PATHINDEX], pCtx->lockProxyPath, MAXPATHLEN); MAXPATHLEN 30580 ext/sqlite3/libsqlite/sqlite3.c strlcpy(&writeBuffer[PROXY_PATHINDEX], tempLockPath, MAXPATHLEN); MAXPATHLEN 30759 ext/sqlite3/libsqlite/sqlite3.c (oldPath && !strncmp(oldPath, path, MAXPATHLEN)) ){ MAXPATHLEN 30789 ext/sqlite3/libsqlite/sqlite3.c assert( (int)strlen((char*)pFile->lockingContext)<=MAXPATHLEN ); MAXPATHLEN 30790 ext/sqlite3/libsqlite/sqlite3.c strlcpy(dbPath, ((afpLockingContext *)pFile->lockingContext)->dbPath, MAXPATHLEN); MAXPATHLEN 30800 ext/sqlite3/libsqlite/sqlite3.c assert( strlen((char*)pFile->lockingContext)<=MAXPATHLEN ); MAXPATHLEN 30801 ext/sqlite3/libsqlite/sqlite3.c strlcpy(dbPath, (char *)pFile->lockingContext, MAXPATHLEN); MAXPATHLEN 30816 ext/sqlite3/libsqlite/sqlite3.c char dbPath[MAXPATHLEN+1]; /* Name of the database file */ MAXPATHLEN 30937 ext/sqlite3/libsqlite/sqlite3.c !strncmp(pCtx->lockProxyPath, proxyPath, MAXPATHLEN)) MAXPATHLEN 339 ext/sqlite3/sqlite3.c char fullpath[MAXPATHLEN]; MAXPATHLEN 34 ext/standard/browscap.c char filename[MAXPATHLEN]; MAXPATHLEN 359 ext/standard/dir.c char path[MAXPATHLEN]; MAXPATHLEN 367 ext/standard/dir.c ret = VCWD_GETCWD(path, MAXPATHLEN); MAXPATHLEN 427 ext/standard/dir.c char cwd[MAXPATHLEN]; MAXPATHLEN 428 ext/standard/dir.c char work_pattern[MAXPATHLEN]; MAXPATHLEN 443 ext/standard/dir.c if (pattern_len >= MAXPATHLEN) { MAXPATHLEN 444 ext/standard/dir.c php_error_docref(NULL TSRMLS_CC, E_WARNING, "Pattern exceeds the maximum allowed length of %d characters", MAXPATHLEN); MAXPATHLEN 455 ext/standard/dir.c result = VCWD_GETCWD(cwd, MAXPATHLEN); MAXPATHLEN 466 ext/standard/dir.c snprintf(work_pattern, MAXPATHLEN, "%s%c%s", cwd, DEFAULT_SLASH, pattern); MAXPATHLEN 68 ext/standard/dl.c if (filename_len >= MAXPATHLEN) { MAXPATHLEN 69 ext/standard/dl.c php_error_docref(NULL TSRMLS_CC, E_WARNING, "File name exceeds the maximum allowed length of %d characters", MAXPATHLEN); MAXPATHLEN 2298 ext/standard/file.c char resolved_path_buff[MAXPATHLEN]; MAXPATHLEN 2442 ext/standard/file.c if (filename_len >= MAXPATHLEN) { MAXPATHLEN 2443 ext/standard/file.c php_error_docref(NULL TSRMLS_CC, E_WARNING, "Filename exceeds the maximum allowed length of %d characters", MAXPATHLEN); MAXPATHLEN 2446 ext/standard/file.c if (pattern_len >= MAXPATHLEN) { MAXPATHLEN 2447 ext/standard/file.c php_error_docref(NULL TSRMLS_CC, E_WARNING, "Pattern exceeds the maximum allowed length of %d characters", MAXPATHLEN); MAXPATHLEN 59 ext/standard/link.c char buff[MAXPATHLEN]; MAXPATHLEN 70 ext/standard/link.c ret = php_sys_readlink(link, buff, MAXPATHLEN-1); MAXPATHLEN 124 ext/standard/link.c char source_p[MAXPATHLEN]; MAXPATHLEN 125 ext/standard/link.c char dest_p[MAXPATHLEN]; MAXPATHLEN 126 ext/standard/link.c char dirname[MAXPATHLEN]; MAXPATHLEN 182 ext/standard/link.c char source_p[MAXPATHLEN]; MAXPATHLEN 183 ext/standard/link.c char dest_p[MAXPATHLEN]; MAXPATHLEN 67 ext/standard/link_win32.c char target[MAXPATHLEN]; MAXPATHLEN 77 ext/standard/link_win32.c if (php_sys_readlink(link, target, MAXPATHLEN) == -1) { MAXPATHLEN 115 ext/standard/link_win32.c char source_p[MAXPATHLEN]; MAXPATHLEN 116 ext/standard/link_win32.c char dest_p[MAXPATHLEN]; MAXPATHLEN 117 ext/standard/link_win32.c char dirname[MAXPATHLEN]; MAXPATHLEN 195 ext/standard/link_win32.c char source_p[MAXPATHLEN]; MAXPATHLEN 196 ext/standard/link_win32.c char dest_p[MAXPATHLEN]; MAXPATHLEN 453 ext/standard/proc_open.c char cur_cwd[MAXPATHLEN]; MAXPATHLEN 693 ext/standard/proc_open.c getcwd_result = VCWD_GETCWD(cur_cwd, MAXPATHLEN); MAXPATHLEN 285 ext/xmlreader/php_xmlreader.c char resolved_path[MAXPATHLEN + 1]; MAXPATHLEN 289 ext/xmlreader/php_xmlreader.c valid_file = _xmlreader_get_valid_file_path(source, resolved_path, MAXPATHLEN TSRMLS_CC); MAXPATHLEN 870 ext/xmlreader/php_xmlreader.c char resolved_path[MAXPATHLEN + 1]; MAXPATHLEN 892 ext/xmlreader/php_xmlreader.c valid_file = _xmlreader_get_valid_file_path(source, resolved_path, MAXPATHLEN TSRMLS_CC); MAXPATHLEN 1053 ext/xmlreader/php_xmlreader.c char *directory=NULL, resolved_path[MAXPATHLEN]; MAXPATHLEN 1080 ext/xmlreader/php_xmlreader.c directory = VCWD_GETCWD(resolved_path, MAXPATHLEN); MAXPATHLEN 642 ext/xmlwriter/php_xmlwriter.c char file_dirname[MAXPATHLEN]; MAXPATHLEN 1749 ext/xmlwriter/php_xmlwriter.c char resolved_path[MAXPATHLEN + 1]; MAXPATHLEN 1778 ext/xmlwriter/php_xmlwriter.c valid_file = _xmlwriter_get_valid_file_path(source, resolved_path, MAXPATHLEN TSRMLS_CC); MAXPATHLEN 148 ext/zip/php_zip.c char file_dirname[MAXPATHLEN]; MAXPATHLEN 171 ext/zip/php_zip.c if (path_cleaned_len >= MAXPATHLEN || zip_stat(za, file, 0, &sb) != 0) { MAXPATHLEN 237 ext/zip/php_zip.c } else if (len > MAXPATHLEN) { MAXPATHLEN 238 ext/zip/php_zip.c php_error_docref(NULL TSRMLS_CC, E_WARNING, "Full extraction path exceed MAXPATHLEN (%i)", MAXPATHLEN); MAXPATHLEN 303 ext/zip/php_zip.c char resolved_path[MAXPATHLEN]; MAXPATHLEN 377 ext/zip/php_zip.c if (Z_STRLEN_PP(option) >= MAXPATHLEN) { MAXPATHLEN 379 ext/zip/php_zip.c MAXPATHLEN - 1, Z_STRLEN_PP(option)); MAXPATHLEN 397 ext/zip/php_zip.c if (Z_STRLEN_PP(option) >= MAXPATHLEN) { MAXPATHLEN 399 ext/zip/php_zip.c MAXPATHLEN - 1, Z_STRLEN_PP(option)); MAXPATHLEN 522 ext/zip/php_zip.c char cwd[MAXPATHLEN]; MAXPATHLEN 525 ext/zip/php_zip.c char work_pattern[MAXPATHLEN]; MAXPATHLEN 532 ext/zip/php_zip.c if (pattern_len >= MAXPATHLEN) { MAXPATHLEN 533 ext/zip/php_zip.c php_error_docref(NULL TSRMLS_CC, E_WARNING, "Pattern exceeds the maximum allowed length of %d characters", MAXPATHLEN); MAXPATHLEN 544 ext/zip/php_zip.c result = VCWD_GETCWD(cwd, MAXPATHLEN); MAXPATHLEN 555 ext/zip/php_zip.c snprintf(work_pattern, MAXPATHLEN, "%s%c%s", cwd, DEFAULT_SLASH, pattern); MAXPATHLEN 587 ext/zip/php_zip.c strncpy(cwd, globbuf.gl_pathv[0], MAXPATHLEN); MAXPATHLEN 628 ext/zip/php_zip.c char cwd[MAXPATHLEN]; MAXPATHLEN 630 ext/zip/php_zip.c char work_path[MAXPATHLEN]; MAXPATHLEN 638 ext/zip/php_zip.c result = VCWD_GETCWD(cwd, MAXPATHLEN); MAXPATHLEN 649 ext/zip/php_zip.c snprintf(work_path, MAXPATHLEN, "%s%c%s", cwd, DEFAULT_SLASH, path); MAXPATHLEN 676 ext/zip/php_zip.c char fullpath[MAXPATHLEN]; MAXPATHLEN 688 ext/zip/php_zip.c if ((path_len + namelist_len + 1) >= MAXPATHLEN) { MAXPATHLEN 690 ext/zip/php_zip.c MAXPATHLEN - 1, (path_len + namelist_len + 1)); MAXPATHLEN 695 ext/zip/php_zip.c snprintf(fullpath, MAXPATHLEN, "%s%c%s", path, DEFAULT_SLASH, namelist[i]); MAXPATHLEN 1214 ext/zip/php_zip.c char resolved_path[MAXPATHLEN + 1]; MAXPATHLEN 1496 ext/zip/php_zip.c char resolved_path[MAXPATHLEN]; MAXPATHLEN 1708 ext/zip/php_zip.c char entry_name_buf[MAXPATHLEN]; MAXPATHLEN 1726 ext/zip/php_zip.c if ((add_path_len + file_stripped_len) > MAXPATHLEN) { MAXPATHLEN 1728 ext/zip/php_zip.c MAXPATHLEN - 1, (add_path_len + file_stripped_len)); MAXPATHLEN 1733 ext/zip/php_zip.c snprintf(entry_name_buf, MAXPATHLEN, "%s%s", add_path, file_stripped); MAXPATHLEN 107 ext/zip/zip_stream.c char file_dirname[MAXPATHLEN]; MAXPATHLEN 129 ext/zip/zip_stream.c if (path_len >= MAXPATHLEN) { MAXPATHLEN 248 ext/zip/zip_stream.c char file_dirname[MAXPATHLEN]; MAXPATHLEN 274 ext/zip/zip_stream.c if (path_len >= MAXPATHLEN || mode[0] != 'r') { MAXPATHLEN 144 main/fopen_wrappers.c char resolved_name[MAXPATHLEN]; MAXPATHLEN 145 main/fopen_wrappers.c char resolved_basedir[MAXPATHLEN]; MAXPATHLEN 146 main/fopen_wrappers.c char local_open_basedir[MAXPATHLEN]; MAXPATHLEN 147 main/fopen_wrappers.c char path_tmp[MAXPATHLEN]; MAXPATHLEN 155 main/fopen_wrappers.c if (strcmp(basedir, ".") || !VCWD_GETCWD(local_open_basedir, MAXPATHLEN)) { MAXPATHLEN 161 main/fopen_wrappers.c if (path_len > (MAXPATHLEN - 1)) { MAXPATHLEN 181 main/fopen_wrappers.c char buf[MAXPATHLEN]; MAXPATHLEN 183 main/fopen_wrappers.c ret = php_sys_readlink(path_tmp, buf, MAXPATHLEN - 1); MAXPATHLEN 303 main/fopen_wrappers.c if (strlen(path) > (MAXPATHLEN - 1)) { MAXPATHLEN 304 main/fopen_wrappers.c php_error_docref(NULL TSRMLS_CC, E_WARNING, "File name is longer than the maximum allowed path length on this platform (%d): %s", MAXPATHLEN, path); MAXPATHLEN 475 main/fopen_wrappers.c char resolved_path[MAXPATHLEN]; MAXPATHLEN 476 main/fopen_wrappers.c char trypath[MAXPATHLEN]; MAXPATHLEN 525 main/fopen_wrappers.c if ((end-ptr) + 1 + filename_length + 1 >= MAXPATHLEN) { MAXPATHLEN 536 main/fopen_wrappers.c if (len + 1 + filename_length + 1 >= MAXPATHLEN) { MAXPATHLEN 574 main/fopen_wrappers.c exec_fname_length + 1 + filename_length + 1 < MAXPATHLEN) { MAXPATHLEN 615 main/fopen_wrappers.c char trypath[MAXPATHLEN]; MAXPATHLEN 672 main/fopen_wrappers.c if (snprintf(trypath, MAXPATHLEN, "%s/%s", ptr, filename) >= MAXPATHLEN) { MAXPATHLEN 673 main/fopen_wrappers.c php_error_docref(NULL TSRMLS_CC, E_NOTICE, "%s/%s path was truncated to %d", ptr, filename, MAXPATHLEN); MAXPATHLEN 749 main/fopen_wrappers.c char cwd[MAXPATHLEN]; MAXPATHLEN 760 main/fopen_wrappers.c if (relative_to_len > MAXPATHLEN-1U) { MAXPATHLEN 766 main/fopen_wrappers.c result = VCWD_GETCWD(cwd, MAXPATHLEN); MAXPATHLEN 777 main/fopen_wrappers.c copy_len = strlen(filepath) > MAXPATHLEN - 1 ? MAXPATHLEN - 1 : strlen(filepath); MAXPATHLEN 803 main/fopen_wrappers.c copy_len = new_state.cwd_length > MAXPATHLEN - 1 ? MAXPATHLEN - 1 : new_state.cwd_length; MAXPATHLEN 267 main/main.c binary_location = (char *)malloc(MAXPATHLEN); MAXPATHLEN 268 main/main.c if (GetModuleFileName(0, binary_location, MAXPATHLEN) == 0) { MAXPATHLEN 274 main/main.c binary_location = (char *)malloc(MAXPATHLEN); MAXPATHLEN 280 main/main.c char *search_dir, search_path[MAXPATHLEN]; MAXPATHLEN 288 main/main.c snprintf(search_path, MAXPATHLEN, "%s/%s", search_dir, sapi_module.executable_location); MAXPATHLEN 2152 main/main.c REGISTER_MAIN_LONG_CONSTANT("PHP_MAXPATHLEN", MAXPATHLEN, CONST_PERSISTENT | CONST_CS); MAXPATHLEN 2443 main/main.c char realfile[MAXPATHLEN]; MAXPATHLEN 247 main/php.h #ifndef MAXPATHLEN MAXPATHLEN 249 main/php.h # define MAXPATHLEN PATH_MAX MAXPATHLEN 251 main/php.h # define MAXPATHLEN MAX_PATH MAXPATHLEN 253 main/php.h # define MAXPATHLEN 256 /* Should be safe for any weird systems that do not define it */ MAXPATHLEN 416 main/php_ini.c char phprc_path[MAXPATHLEN]; MAXPATHLEN 457 main/php_ini.c search_path_size = MAXPATHLEN * 4 + strlen(env_location) + 3 + 1; MAXPATHLEN 509 main/php_ini.c default_location = (char *) emalloc(MAXPATHLEN + 1); MAXPATHLEN 511 main/php_ini.c if (0 < GetWindowsDirectory(default_location, MAXPATHLEN)) { MAXPATHLEN 521 main/php_ini.c if (0 < GetSystemWindowsDirectory(default_location, MAXPATHLEN)) { MAXPATHLEN 627 main/php_ini.c char ini_file[MAXPATHLEN]; MAXPATHLEN 649 main/php_ini.c snprintf(ini_file, MAXPATHLEN, "%s%s", php_ini_scanned_path, namelist[i]->d_name); MAXPATHLEN 651 main/php_ini.c snprintf(ini_file, MAXPATHLEN, "%s%c%s", php_ini_scanned_path, DEFAULT_SLASH, namelist[i]->d_name); MAXPATHLEN 739 main/php_ini.c char ini_file[MAXPATHLEN]; MAXPATHLEN 742 main/php_ini.c snprintf(ini_file, MAXPATHLEN, "%s%c%s", dirname, DEFAULT_SLASH, ini_filename); MAXPATHLEN 802 main/php_ini.c char path_bak[MAXPATHLEN]; MAXPATHLEN 807 main/php_ini.c if (path_len >= MAXPATHLEN) { MAXPATHLEN 809 main/php_ini.c if (path_len > MAXPATHLEN) { MAXPATHLEN 101 main/php_open_temporary_file.c char cwd[MAXPATHLEN]; MAXPATHLEN 123 main/php_open_temporary_file.c if (!VCWD_GETCWD(cwd, MAXPATHLEN)) { MAXPATHLEN 141 main/php_open_temporary_file.c if (spprintf(&opened_path, 0, "%s%s%sXXXXXX", new_state.cwd, trailing_slash, pfx) >= MAXPATHLEN) { MAXPATHLEN 66 main/php_scandir.c char entry[sizeof(struct dirent)+MAXPATHLEN]; MAXPATHLEN 112 main/php_streams.h char d_name[MAXPATHLEN]; MAXPATHLEN 820 main/streams/plain_wrapper.c char entry[sizeof(struct dirent)+MAXPATHLEN]; MAXPATHLEN 1171 main/streams/plain_wrapper.c char buf[MAXPATHLEN]; MAXPATHLEN 1381 main/streams/plain_wrapper.c char trypath[MAXPATHLEN]; MAXPATHLEN 1436 main/streams/plain_wrapper.c if (snprintf(trypath, MAXPATHLEN, "%s%s", cwd, filename) >= MAXPATHLEN) { MAXPATHLEN 1437 main/streams/plain_wrapper.c php_error_docref(NULL TSRMLS_CC, E_NOTICE, "%s/%s path was truncated to %d", cwd, filename, MAXPATHLEN); MAXPATHLEN 1490 main/streams/plain_wrapper.c if (snprintf(trypath, MAXPATHLEN, "%s/%s", ptr, filename) >= MAXPATHLEN) { MAXPATHLEN 1491 main/streams/plain_wrapper.c php_error_docref(NULL TSRMLS_CC, E_NOTICE, "%s/%s path was truncated to %d", ptr, filename, MAXPATHLEN); MAXPATHLEN 38 sapi/cgi/fastcgi.c char sun_path[MAXPATHLEN]; MAXPATHLEN 572 sapi/cgi/fastcgi.c char host[MAXPATHLEN]; MAXPATHLEN 587 sapi/cgi/fastcgi.c if (port != 0 && (s-path) < MAXPATHLEN) { MAXPATHLEN 937 sapi/cli/php_cli.c char real_path[MAXPATHLEN]; MAXPATHLEN 2116 sapi/cli/php_cli_server.c old_cwd = do_alloca(MAXPATHLEN, use_heap); MAXPATHLEN 2118 sapi/cli/php_cli_server.c php_ignore_value(VCWD_GETCWD(old_cwd, MAXPATHLEN - 1)); MAXPATHLEN 2516 sapi/cli/php_cli_server.c char document_root_buf[MAXPATHLEN]; MAXPATHLEN 2547 sapi/cli/php_cli_server.c ret = VCWD_GETCWD(document_root_buf, MAXPATHLEN); MAXPATHLEN 44 sapi/fpm/fpm/fastcgi.c char sun_path[MAXPATHLEN]; MAXPATHLEN 190 sapi/phttpd/phttpd.c SG(request_info).path_translated = malloc(MAXPATHLEN); MAXPATHLEN 192 sapi/phttpd/phttpd.c if (url_expand(PHG(cip)->hip->url, SG(request_info).path_translated, MAXPATHLEN, &PHG(sb), NULL, NULL) == NULL) { MAXPATHLEN 169 win32/glob.c Char *bufnext, *bufend, patbuf[MAXPATHLEN]; MAXPATHLEN 190 win32/glob.c bufend = bufnext + MAXPATHLEN - 1; MAXPATHLEN 253 win32/glob.c Char patbuf[MAXPATHLEN]; MAXPATHLEN 438 win32/glob.c Char *bufnext, patbuf[MAXPATHLEN]; MAXPATHLEN 441 win32/glob.c qpatnext = globtilde(pattern, patbuf, MAXPATHLEN, pglob); MAXPATHLEN 497 win32/glob.c if ((err = glob1(patbuf, patbuf+MAXPATHLEN-1, pglob, &limit)) != 0) MAXPATHLEN 532 win32/glob.c Char pathbuf[MAXPATHLEN]; MAXPATHLEN 537 win32/glob.c return(glob2(pathbuf, pathbuf+MAXPATHLEN-1, MAXPATHLEN 538 win32/glob.c pathbuf, pathbuf+MAXPATHLEN-1, MAXPATHLEN 622 win32/glob.c char buf[MAXPATHLEN]; MAXPATHLEN 834 win32/glob.c char buf[MAXPATHLEN]; MAXPATHLEN 855 win32/glob.c char buf[MAXPATHLEN]; MAXPATHLEN 870 win32/glob.c char buf[MAXPATHLEN]; MAXPATHLEN 11 win32/param.h #ifndef MAXPATHLEN MAXPATHLEN 28 win32/readdir.c char resolved_path_buff[MAXPATHLEN]; MAXPATHLEN 218 win32/registry.c char tmp_buf[MAXPATHLEN], *cwd; MAXPATHLEN 222 win32/registry.c if (!VCWD_GETCWD(tmp_buf, MAXPATHLEN)) { MAXPATHLEN 287 win32/registry.c DWORD buflen = MAXPATHLEN; MAXPATHLEN 288 win32/registry.c reg_location = emalloc(MAXPATHLEN+1);