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 || dwRet == 0) { 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 1562 ext/dom/document.c char *directory=NULL, resolved_path[MAXPATHLEN]; MAXPATHLEN 1587 ext/dom/document.c file_dest = _dom_get_valid_file_path(source, resolved_path, MAXPATHLEN TSRMLS_CC); MAXPATHLEN 1603 ext/dom/document.c directory = VCWD_GETCWD(resolved_path, MAXPATHLEN); MAXPATHLEN 1992 ext/dom/document.c char resolved_path[MAXPATHLEN + 1]; MAXPATHLEN 2011 ext/dom/document.c valid_file = _dom_get_valid_file_path(source, resolved_path, MAXPATHLEN TSRMLS_CC); MAXPATHLEN 2092 ext/dom/document.c char resolved_path[MAXPATHLEN + 1]; MAXPATHLEN 2111 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 1172 ext/fileinfo/libmagic/apprentice.c char mfn[MAXPATHLEN]; MAXPATHLEN 2843 ext/fileinfo/libmagic/apprentice.c spprintf(&buf, MAXPATHLEN, "%.*s.mime%s", (int)(q - fn), fn, ext); MAXPATHLEN 2854 ext/fileinfo/libmagic/apprentice.c spprintf(&buf, MAXPATHLEN, "%.*s%s", (int)(q - fn), fn, ext); MAXPATHLEN 3861 ext/gd/gd.c char tmp_font_path[MAXPATHLEN]; MAXPATHLEN 352 ext/gd/libgd/gdft.c char fullname[MAXPATHLEN], cur_dir[MAXPATHLEN]; MAXPATHLEN 397 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 1748 ext/opcache/ZendAccelerator.c char trypath[MAXPATHLEN]; MAXPATHLEN 1768 ext/opcache/ZendAccelerator.c if (len + 1 + filename_length + 1 >= MAXPATHLEN) { MAXPATHLEN 1790 ext/opcache/ZendAccelerator.c exec_fname_length + 1 + filename_length + 1 < MAXPATHLEN) { MAXPATHLEN 79 ext/opcache/ZendAccelerator.h # ifndef MAXPATHLEN MAXPATHLEN 84 ext/opcache/ZendAccelerator.h # ifndef MAXPATHLEN MAXPATHLEN 273 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 543 ext/openssl/openssl.c static char default_ssl_conf_filename[MAXPATHLEN]; MAXPATHLEN 923 ext/openssl/openssl.c char buffer[MAXPATHLEN]; MAXPATHLEN 952 ext/openssl/openssl.c char buffer[MAXPATHLEN]; MAXPATHLEN 4718 ext/openssl/openssl.c char resolved_path_buff[MAXPATHLEN]; MAXPATHLEN 4730 ext/openssl/openssl.c char resolved_path_buff_pk[MAXPATHLEN]; MAXPATHLEN 562 ext/phar/phar_internal.h char tmp[MAXPATHLEN]; MAXPATHLEN 566 ext/phar/phar_internal.h tmp_len = MIN(MAXPATHLEN, entry->filename_len + entry->phar->fname_len); MAXPATHLEN 4166 ext/phar/phar_object.c if (len >= MAXPATHLEN) { MAXPATHLEN 4337 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 123 ext/session/mod_files.c char buf[MAXPATHLEN]; MAXPATHLEN 189 ext/session/mod_files.c char dentry[sizeof(struct dirent) + MAXPATHLEN]; MAXPATHLEN 192 ext/session/mod_files.c char buf[MAXPATHLEN]; MAXPATHLEN 217 ext/session/mod_files.c if (entry_len + dirname_len + 2 < MAXPATHLEN) { MAXPATHLEN 241 ext/session/mod_files.c char buf[MAXPATHLEN]; MAXPATHLEN 438 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 1250 ext/spl/spl_directory.c char buff[MAXPATHLEN]; MAXPATHLEN 1264 ext/spl/spl_directory.c char expanded_path[MAXPATHLEN]; MAXPATHLEN 1269 ext/spl/spl_directory.c ret = php_sys_readlink(expanded_path, buff, MAXPATHLEN - 1); MAXPATHLEN 1271 ext/spl/spl_directory.c ret = php_sys_readlink(intern->file_name, buff, MAXPATHLEN-1); MAXPATHLEN 1297 ext/spl/spl_directory.c char buff[MAXPATHLEN]; MAXPATHLEN 31933 ext/sqlite3/libsqlite/sqlite3.c char buf[MAXPATHLEN]; MAXPATHLEN 32100 ext/sqlite3/libsqlite/sqlite3.c #define PROXY_MAXCONCHLEN (PROXY_HEADERLEN+PROXY_HOSTIDLEN+MAXPATHLEN) MAXPATHLEN 32111 ext/sqlite3/libsqlite/sqlite3.c char tPath[MAXPATHLEN]; MAXPATHLEN 32122 ext/sqlite3/libsqlite/sqlite3.c pathLen = strlcpy(tPath, cPath, MAXPATHLEN); MAXPATHLEN 32123 ext/sqlite3/libsqlite/sqlite3.c if( pathLen>MAXPATHLEN || pathLen<6 || MAXPATHLEN 32256 ext/sqlite3/libsqlite/sqlite3.c char lockPath[MAXPATHLEN]; MAXPATHLEN 32309 ext/sqlite3/libsqlite/sqlite3.c if( pathLen>=MAXPATHLEN ){ MAXPATHLEN 32310 ext/sqlite3/libsqlite/sqlite3.c pathLen=MAXPATHLEN-1; MAXPATHLEN 32336 ext/sqlite3/libsqlite/sqlite3.c proxyGetLockPath(pCtx->dbPath, lockPath, MAXPATHLEN); MAXPATHLEN 32365 ext/sqlite3/libsqlite/sqlite3.c MAXPATHLEN); MAXPATHLEN 32367 ext/sqlite3/libsqlite/sqlite3.c strlcpy(&writeBuffer[PROXY_PATHINDEX], tempLockPath, MAXPATHLEN); MAXPATHLEN 32546 ext/sqlite3/libsqlite/sqlite3.c (oldPath && !strncmp(oldPath, path, MAXPATHLEN)) ){ MAXPATHLEN 32576 ext/sqlite3/libsqlite/sqlite3.c assert( (int)strlen((char*)pFile->lockingContext)<=MAXPATHLEN ); MAXPATHLEN 32578 ext/sqlite3/libsqlite/sqlite3.c MAXPATHLEN); MAXPATHLEN 32588 ext/sqlite3/libsqlite/sqlite3.c assert( strlen((char*)pFile->lockingContext)<=MAXPATHLEN ); MAXPATHLEN 32589 ext/sqlite3/libsqlite/sqlite3.c strlcpy(dbPath, (char *)pFile->lockingContext, MAXPATHLEN); MAXPATHLEN 32604 ext/sqlite3/libsqlite/sqlite3.c char dbPath[MAXPATHLEN+1]; /* Name of the database file */ MAXPATHLEN 32728 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 2306 ext/standard/file.c char resolved_path_buff[MAXPATHLEN]; MAXPATHLEN 2450 ext/standard/file.c if (filename_len >= MAXPATHLEN) { MAXPATHLEN 2451 ext/standard/file.c php_error_docref(NULL TSRMLS_CC, E_WARNING, "Filename exceeds the maximum allowed length of %d characters", MAXPATHLEN); MAXPATHLEN 2454 ext/standard/file.c if (pattern_len >= MAXPATHLEN) { MAXPATHLEN 2455 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 474 ext/standard/proc_open.c char cur_cwd[MAXPATHLEN]; MAXPATHLEN 714 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 2157 main/main.c REGISTER_MAIN_LONG_CONSTANT("PHP_MAXPATHLEN", MAXPATHLEN, CONST_PERSISTENT | CONST_CS); MAXPATHLEN 2447 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 665 main/php_ini.c snprintf(ini_file, MAXPATHLEN, "%s%s", debpath, namelist[i]->d_name); MAXPATHLEN 667 main/php_ini.c snprintf(ini_file, MAXPATHLEN, "%s%c%s", debpath, DEFAULT_SLASH, namelist[i]->d_name); MAXPATHLEN 757 main/php_ini.c char ini_file[MAXPATHLEN]; MAXPATHLEN 760 main/php_ini.c snprintf(ini_file, MAXPATHLEN, "%s%c%s", dirname, DEFAULT_SLASH, ini_filename); MAXPATHLEN 820 main/php_ini.c char path_bak[MAXPATHLEN]; MAXPATHLEN 825 main/php_ini.c if (path_len >= MAXPATHLEN) { MAXPATHLEN 827 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 849 main/streams/plain_wrapper.c char entry[sizeof(struct dirent)+MAXPATHLEN]; MAXPATHLEN 1186 main/streams/plain_wrapper.c char buf[MAXPATHLEN]; MAXPATHLEN 1394 main/streams/plain_wrapper.c char trypath[MAXPATHLEN]; MAXPATHLEN 1449 main/streams/plain_wrapper.c if (snprintf(trypath, MAXPATHLEN, "%s%s", cwd, filename) >= MAXPATHLEN) { MAXPATHLEN 1450 main/streams/plain_wrapper.c php_error_docref(NULL TSRMLS_CC, E_NOTICE, "%s/%s path was truncated to %d", cwd, filename, MAXPATHLEN); MAXPATHLEN 1503 main/streams/plain_wrapper.c if (snprintf(trypath, MAXPATHLEN, "%s/%s", ptr, filename) >= MAXPATHLEN) { MAXPATHLEN 1504 main/streams/plain_wrapper.c php_error_docref(NULL TSRMLS_CC, E_NOTICE, "%s/%s path was truncated to %d", ptr, filename, MAXPATHLEN); MAXPATHLEN 42 sapi/cgi/fastcgi.c char sun_path[MAXPATHLEN]; MAXPATHLEN 576 sapi/cgi/fastcgi.c char host[MAXPATHLEN]; MAXPATHLEN 591 sapi/cgi/fastcgi.c if (port != 0 && (s-path) < MAXPATHLEN) { MAXPATHLEN 937 sapi/cli/php_cli.c char real_path[MAXPATHLEN]; MAXPATHLEN 2129 sapi/cli/php_cli_server.c old_cwd = do_alloca(MAXPATHLEN, use_heap); MAXPATHLEN 2131 sapi/cli/php_cli_server.c php_ignore_value(VCWD_GETCWD(old_cwd, MAXPATHLEN - 1)); MAXPATHLEN 2529 sapi/cli/php_cli_server.c char document_root_buf[MAXPATHLEN]; MAXPATHLEN 2560 sapi/cli/php_cli_server.c ret = VCWD_GETCWD(document_root_buf, MAXPATHLEN); MAXPATHLEN 42 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 176 win32/glob.c Char *bufnext, *bufend, patbuf[MAXPATHLEN]; MAXPATHLEN 197 win32/glob.c bufend = bufnext + MAXPATHLEN - 1; MAXPATHLEN 260 win32/glob.c Char patbuf[MAXPATHLEN]; MAXPATHLEN 447 win32/glob.c Char *bufnext, patbuf[MAXPATHLEN]; MAXPATHLEN 450 win32/glob.c qpatnext = globtilde(pattern, patbuf, MAXPATHLEN, pglob); MAXPATHLEN 506 win32/glob.c if ((err = glob1(patbuf, patbuf+MAXPATHLEN-1, pglob, &limit)) != 0) MAXPATHLEN 541 win32/glob.c Char pathbuf[MAXPATHLEN]; MAXPATHLEN 546 win32/glob.c return(glob2(pathbuf, pathbuf+MAXPATHLEN-1, MAXPATHLEN 547 win32/glob.c pathbuf, pathbuf+MAXPATHLEN-1, MAXPATHLEN 631 win32/glob.c char buf[MAXPATHLEN]; MAXPATHLEN 843 win32/glob.c char buf[MAXPATHLEN]; MAXPATHLEN 864 win32/glob.c char buf[MAXPATHLEN]; MAXPATHLEN 879 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);