Browse Source

reduced default PATH_MAX to 255 (fixes #826)

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1733 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.14
Jan Kneschke 15 years ago
parent
commit
fff10e1d1a
  1. 1
      NEWS
  2. 2
      src/mod_dirlisting.c

1
NEWS

@ -31,6 +31,7 @@ NEWS
* fixed various crashes at startup on broken accesslog.format strings (#1000)
* fixed handling of %% in accesslog.format
* fixed conditional dir-listing.exclude (#930)
* reduced default PATH_MAX to 255 (#826)
- 1.4.13 - 2006-10-09

2
src/mod_dirlisting.c

@ -614,7 +614,7 @@ static int http_list_directory(server *srv, connection *con, plugin_data *p, buf
#ifdef NAME_MAX
name_max = NAME_MAX;
#else
name_max = 256; /* stupid default */
name_max = 255; /* stupid default */
#endif
}
#elif defined __WIN32

Loading…
Cancel
Save