MAXPATHLEN 44 TSRM/tsrm_config_common.h #ifndef MAXPATHLEN MAXPATHLEN 155 TSRM/tsrm_virtual_cwd.c char cur_path[MAXPATHLEN+1]; MAXPATHLEN 278 TSRM/tsrm_virtual_cwd.c char cwd[MAXPATHLEN]; MAXPATHLEN 486 TSRM/tsrm_virtual_cwd.c char orig_path[MAXPATHLEN]; MAXPATHLEN 501 TSRM/tsrm_virtual_cwd.c if (path_length >= MAXPATHLEN) MAXPATHLEN 525 TSRM/tsrm_virtual_cwd.c if (orig_path_len >= MAXPATHLEN) { MAXPATHLEN 558 TSRM/tsrm_virtual_cwd.c char resolved_path[MAXPATHLEN]; MAXPATHLEN 811 TSRM/tsrm_virtual_cwd.c char cwd[MAXPATHLEN]; MAXPATHLEN 818 TSRM/tsrm_virtual_cwd.c if (VCWD_GETCWD(cwd, MAXPATHLEN)) { MAXPATHLEN 830 TSRM/tsrm_virtual_cwd.c int len = new_state.cwd_length>MAXPATHLEN-1?MAXPATHLEN-1:new_state.cwd_length; MAXPATHLEN 1182 TSRM/tsrm_virtual_cwd.c char prev_cwd[MAXPATHLEN]; MAXPATHLEN 1186 TSRM/tsrm_virtual_cwd.c getcwd_result = VCWD_GETCWD(prev_cwd, MAXPATHLEN); MAXPATHLEN 1270 TSRM/tsrm_virtual_cwd.c char cwd[MAXPATHLEN]; MAXPATHLEN 1277 TSRM/tsrm_virtual_cwd.c if (VCWD_GETCWD(cwd, MAXPATHLEN)) { MAXPATHLEN 1281 TSRM/tsrm_virtual_cwd.c VCWD_GETCWD(cwd, MAXPATHLEN)) { MAXPATHLEN 1296 TSRM/tsrm_virtual_cwd.c int copy_len = new_state.cwd_length>MAXPATHLEN-1 ? MAXPATHLEN-1 : new_state.cwd_length; 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 1599 ext/dom/document.c char *directory=NULL, resolved_path[MAXPATHLEN]; MAXPATHLEN 1620 ext/dom/document.c char *file_dest = _dom_get_valid_file_path(source, resolved_path, MAXPATHLEN TSRMLS_CC); MAXPATHLEN 1636 ext/dom/document.c directory = VCWD_GETCWD(resolved_path, MAXPATHLEN); MAXPATHLEN 2025 ext/dom/document.c char resolved_path[MAXPATHLEN + 1]; MAXPATHLEN 2040 ext/dom/document.c valid_file = _dom_get_valid_file_path(source, resolved_path, MAXPATHLEN TSRMLS_CC); MAXPATHLEN 2115 ext/dom/document.c char resolved_path[MAXPATHLEN + 1]; MAXPATHLEN 2130 ext/dom/document.c valid_file = _dom_get_valid_file_path(source, resolved_path, MAXPATHLEN TSRMLS_CC); MAXPATHLEN 1716 ext/fdf/fdf.c char pathbuf[MAXPATHLEN], mimebuf[1024]; MAXPATHLEN 4280 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 242 ext/gettext/gettext.c char *retval, dir_name[MAXPATHLEN]; MAXPATHLEN 259 ext/gettext/gettext.c } else if (!VCWD_GETCWD(dir_name, MAXPATHLEN)) { MAXPATHLEN 226 ext/openssl/openssl.c static char default_ssl_conf_filename[MAXPATHLEN]; MAXPATHLEN 576 ext/openssl/openssl.c char buffer[MAXPATHLEN]; MAXPATHLEN 608 ext/openssl/openssl.c char buffer[MAXPATHLEN]; MAXPATHLEN 642 ext/posix/posix.c char buffer[MAXPATHLEN]; MAXPATHLEN 647 ext/posix/posix.c p = VCWD_GETCWD(buffer, MAXPATHLEN); MAXPATHLEN 146 ext/session/mod_files.c char buf[MAXPATHLEN]; MAXPATHLEN 212 ext/session/mod_files.c char dentry[sizeof(struct dirent) + MAXPATHLEN]; MAXPATHLEN 215 ext/session/mod_files.c char buf[MAXPATHLEN]; MAXPATHLEN 240 ext/session/mod_files.c if (entry_len + dirname_len + 2 < MAXPATHLEN) { MAXPATHLEN 436 ext/session/mod_files.c char buf[MAXPATHLEN]; MAXPATHLEN 3081 ext/soap/php_sdl.c char fn[MAXPATHLEN]; MAXPATHLEN 3113 ext/soap/php_sdl.c if ((cache_wsdl & WSDL_CACHE_DISK) && (uri_len < MAXPATHLEN)) { MAXPATHLEN 828 ext/spl/spl_directory.c char buff[MAXPATHLEN]; MAXPATHLEN 833 ext/spl/spl_directory.c ret = readlink(intern->file_name, buff, MAXPATHLEN-1); MAXPATHLEN 857 ext/spl/spl_directory.c char buff[MAXPATHLEN]; MAXPATHLEN 333 ext/standard/dir.c char path[MAXPATHLEN]; MAXPATHLEN 341 ext/standard/dir.c ret = VCWD_GETCWD(path, MAXPATHLEN); MAXPATHLEN 391 ext/standard/dir.c char cwd[MAXPATHLEN]; MAXPATHLEN 392 ext/standard/dir.c char work_pattern[MAXPATHLEN]; MAXPATHLEN 407 ext/standard/dir.c if (pattern_len >= MAXPATHLEN) { MAXPATHLEN 408 ext/standard/dir.c php_error_docref(NULL TSRMLS_CC, E_WARNING, "Pattern exceeds the maximum allowed length of %d characters", MAXPATHLEN); MAXPATHLEN 419 ext/standard/dir.c result = VCWD_GETCWD(cwd, MAXPATHLEN); MAXPATHLEN 430 ext/standard/dir.c snprintf(work_pattern, MAXPATHLEN, "%s%c%s", cwd, DEFAULT_SLASH, pattern); MAXPATHLEN 76 ext/standard/dl.c if (Z_STRLEN_PP(file) >= MAXPATHLEN) { MAXPATHLEN 77 ext/standard/dl.c php_error_docref(NULL TSRMLS_CC, E_WARNING, "File name exceeds the maximum allowed length of %d characters", MAXPATHLEN); MAXPATHLEN 2378 ext/standard/file.c char resolved_path_buff[MAXPATHLEN]; MAXPATHLEN 2532 ext/standard/file.c if (filename_len >= MAXPATHLEN) { MAXPATHLEN 2533 ext/standard/file.c php_error_docref(NULL TSRMLS_CC, E_WARNING, "Filename exceeds the maximum allowed length of %d characters", MAXPATHLEN); MAXPATHLEN 746 ext/standard/filestat.c char safe_mode_buf[MAXPATHLEN]; MAXPATHLEN 761 ext/standard/filestat.c snprintf(safe_mode_buf, MAXPATHLEN, "%s%s%s", PG(safe_mode_exec_dir), (b ? "" : "/"), (b ? b : local)); MAXPATHLEN 58 ext/standard/link.c char buff[MAXPATHLEN]; MAXPATHLEN 74 ext/standard/link.c ret = readlink(Z_STRVAL_PP(filename), buff, MAXPATHLEN-1); MAXPATHLEN 116 ext/standard/link.c char source_p[MAXPATHLEN]; MAXPATHLEN 117 ext/standard/link.c char dest_p[MAXPATHLEN]; MAXPATHLEN 173 ext/standard/link.c char source_p[MAXPATHLEN]; MAXPATHLEN 174 ext/standard/link.c char dest_p[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 881 ext/xmlreader/php_xmlreader.c char resolved_path[MAXPATHLEN + 1]; MAXPATHLEN 903 ext/xmlreader/php_xmlreader.c valid_file = _xmlreader_get_valid_file_path(source, resolved_path, MAXPATHLEN TSRMLS_CC); MAXPATHLEN 1064 ext/xmlreader/php_xmlreader.c char *directory=NULL, resolved_path[MAXPATHLEN]; MAXPATHLEN 1091 ext/xmlreader/php_xmlreader.c directory = VCWD_GETCWD(resolved_path, MAXPATHLEN); MAXPATHLEN 1423 ext/xmlwriter/php_xmlwriter.c char resolved_path[MAXPATHLEN + 1]; MAXPATHLEN 1452 ext/xmlwriter/php_xmlwriter.c valid_file = _xmlwriter_get_valid_file_path(source, resolved_path, MAXPATHLEN TSRMLS_CC); MAXPATHLEN 100 ext/zip/php_zip.c char file_dirname[MAXPATHLEN]; MAXPATHLEN 107 ext/zip/php_zip.c if (file_len >= MAXPATHLEN || zip_stat(za, file, 0, &sb) != 0) { MAXPATHLEN 674 ext/zip/php_zip.c char resolved_path[MAXPATHLEN + 1]; MAXPATHLEN 956 ext/zip/php_zip.c char resolved_path[MAXPATHLEN]; MAXPATHLEN 1106 ext/zip/php_zip.c char resolved_path[MAXPATHLEN]; MAXPATHLEN 161 ext/zip/zip_stream.c char file_dirname[MAXPATHLEN]; MAXPATHLEN 187 ext/zip/zip_stream.c if (path_len >= MAXPATHLEN || mode[0] != 'r') { MAXPATHLEN 89 main/fopen_wrappers.c char resolved_name[MAXPATHLEN]; MAXPATHLEN 90 main/fopen_wrappers.c char resolved_basedir[MAXPATHLEN]; MAXPATHLEN 91 main/fopen_wrappers.c char local_open_basedir[MAXPATHLEN]; MAXPATHLEN 92 main/fopen_wrappers.c char path_tmp[MAXPATHLEN]; MAXPATHLEN 100 main/fopen_wrappers.c if (strcmp(basedir, ".") || !VCWD_GETCWD(local_open_basedir, MAXPATHLEN)) { MAXPATHLEN 106 main/fopen_wrappers.c if (path_len > (MAXPATHLEN - 1)) { MAXPATHLEN 123 main/fopen_wrappers.c char buf[MAXPATHLEN]; MAXPATHLEN 125 main/fopen_wrappers.c ret = readlink(path_tmp, buf, MAXPATHLEN - 1); MAXPATHLEN 268 main/fopen_wrappers.c char resolved_name[MAXPATHLEN]; MAXPATHLEN 450 main/fopen_wrappers.c char trypath[MAXPATHLEN]; MAXPATHLEN 531 main/fopen_wrappers.c snprintf(trypath, MAXPATHLEN, "%s/%s", ptr, filename); MAXPATHLEN 605 main/fopen_wrappers.c char cwd[MAXPATHLEN]; MAXPATHLEN 614 main/fopen_wrappers.c char *result = VCWD_GETCWD(cwd, MAXPATHLEN); MAXPATHLEN 624 main/fopen_wrappers.c copy_len = strlen(filepath) > MAXPATHLEN - 1 ? MAXPATHLEN - 1 : strlen(filepath); MAXPATHLEN 645 main/fopen_wrappers.c copy_len = new_state.cwd_length > MAXPATHLEN - 1 ? MAXPATHLEN - 1 : new_state.cwd_length; MAXPATHLEN 1945 main/main.c char realfile[MAXPATHLEN]; MAXPATHLEN 245 main/php.h #ifndef MAXPATHLEN MAXPATHLEN 247 main/php.h # define MAXPATHLEN PATH_MAX MAXPATHLEN 249 main/php.h # define MAXPATHLEN MAX_PATH MAXPATHLEN 251 main/php.h # define MAXPATHLEN 256 /* Should be safe for any weird systems that do not define it */ MAXPATHLEN 268 main/php_ini.c char ini_file[MAXPATHLEN]; MAXPATHLEN 312 main/php_ini.c search_path_size = MAXPATHLEN * 4 + strlen(env_location) + 3 + 1; MAXPATHLEN 348 main/php_ini.c binary_location = (char *) emalloc(MAXPATHLEN); MAXPATHLEN 349 main/php_ini.c if (GetModuleFileName(0, binary_location, MAXPATHLEN) == 0) { MAXPATHLEN 355 main/php_ini.c binary_location = (char *)emalloc(MAXPATHLEN); MAXPATHLEN 361 main/php_ini.c char *search_dir, search_path[MAXPATHLEN]; MAXPATHLEN 368 main/php_ini.c snprintf(search_path, MAXPATHLEN, "%s/%s", search_dir, sapi_module.executable_location); MAXPATHLEN 404 main/php_ini.c default_location = (char *) emalloc(MAXPATHLEN + 1); MAXPATHLEN 406 main/php_ini.c if (0 < GetWindowsDirectory(default_location, MAXPATHLEN)) { MAXPATHLEN 429 main/php_ini.c default_location = (char *) emalloc(MAXPATHLEN + 1); MAXPATHLEN 430 main/php_ini.c if (0 < get_system_windows_directory(default_location, MAXPATHLEN)) { MAXPATHLEN 525 main/php_ini.c snprintf(ini_file, MAXPATHLEN, "%s%c%s", PHP_CONFIG_FILE_SCAN_DIR, DEFAULT_SLASH, namelist[i]->d_name); MAXPATHLEN 101 main/php_open_temporary_file.c char cwd[MAXPATHLEN]; MAXPATHLEN 116 main/php_open_temporary_file.c if (!VCWD_GETCWD(cwd, MAXPATHLEN)) { MAXPATHLEN 134 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 53 main/safe_mode.c char path[MAXPATHLEN]; MAXPATHLEN 54 main/safe_mode.c char *s, filenamecopy[MAXPATHLEN]; MAXPATHLEN 64 main/safe_mode.c if (strlcpy(filenamecopy, filename, MAXPATHLEN)>=MAXPATHLEN) { MAXPATHLEN 90 main/safe_mode.c char ftest[MAXPATHLEN]; MAXPATHLEN 807 main/streams/plain_wrapper.c char entry[sizeof(struct dirent)+MAXPATHLEN]; MAXPATHLEN 1255 main/streams/plain_wrapper.c char trypath[MAXPATHLEN]; MAXPATHLEN 1326 main/streams/plain_wrapper.c snprintf(trypath, MAXPATHLEN, "%s%s", cwd, filename); MAXPATHLEN 1387 main/streams/plain_wrapper.c snprintf(trypath, MAXPATHLEN, "%s/%s", ptr, filename); MAXPATHLEN 38 sapi/cgi/fastcgi.c char sun_path[MAXPATHLEN]; MAXPATHLEN 348 sapi/cgi/fastcgi.c char host[MAXPATHLEN]; MAXPATHLEN 363 sapi/cgi/fastcgi.c if (port != 0 && (s-path) < MAXPATHLEN) { MAXPATHLEN 194 sapi/phttpd/phttpd.c SG(request_info).path_translated = malloc(MAXPATHLEN); MAXPATHLEN 196 sapi/phttpd/phttpd.c if (url_expand(PHG(cip)->hip->url, SG(request_info).path_translated, MAXPATHLEN, &PHG(sb), NULL, NULL) == NULL) { MAXPATHLEN 170 win32/glob.c Char *bufnext, *bufend, patbuf[MAXPATHLEN]; MAXPATHLEN 191 win32/glob.c bufend = bufnext + MAXPATHLEN - 1; MAXPATHLEN 254 win32/glob.c Char patbuf[MAXPATHLEN]; MAXPATHLEN 439 win32/glob.c Char *bufnext, patbuf[MAXPATHLEN]; MAXPATHLEN 442 win32/glob.c qpatnext = globtilde(pattern, patbuf, MAXPATHLEN, pglob); MAXPATHLEN 498 win32/glob.c if ((err = glob1(patbuf, patbuf+MAXPATHLEN-1, pglob, &limit)) != 0) MAXPATHLEN 534 win32/glob.c Char pathbuf[MAXPATHLEN]; MAXPATHLEN 539 win32/glob.c return(glob2(pathbuf, pathbuf+MAXPATHLEN-1, MAXPATHLEN 540 win32/glob.c pathbuf, pathbuf+MAXPATHLEN-1, MAXPATHLEN 624 win32/glob.c char buf[MAXPATHLEN]; MAXPATHLEN 836 win32/glob.c char buf[MAXPATHLEN]; MAXPATHLEN 857 win32/glob.c char buf[MAXPATHLEN]; MAXPATHLEN 872 win32/glob.c char buf[MAXPATHLEN]; MAXPATHLEN 11 win32/param.h #ifndef MAXPATHLEN MAXPATHLEN 204 win32/registry.c char tmp_buf[MAXPATHLEN], *cwd; MAXPATHLEN 208 win32/registry.c if (!VCWD_GETCWD(tmp_buf, MAXPATHLEN)) { MAXPATHLEN 273 win32/registry.c DWORD buflen = MAXPATHLEN; MAXPATHLEN 274 win32/registry.c reg_location = emalloc(MAXPATHLEN+1);