Ticket #826 (closed defect: fixed)

Opened 2 years ago

Last modified 15 months ago

name_max default should be 255 and not 256

Reported by: raphael.huck@… Owned by: jan
Priority: normal Milestone:
Component: core Version: 1.4.x-svn
Severity: normal Keywords:
Cc: Blocked By:
Need User Feedback: Blocking:

Description

http://trac.lighttpd.net/trac/browser/tags/lighttpd-1.4.11/src/mod_dirlisting.c#L606 name_max = 256; /* stupid default */

This default should be 255 (as found in limits.h).

Attachments

Change History

Changed 18 months ago by jan

  • status changed from new to closed
  • resolution set to fixed

if PATH_MAX exists in limits.h we take it, we are only handling the case if PATH_MAX is not set.

I changed the default as suggested in [1733]

Add/Change #826 (name_max default should be 255 and not 256)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.