[Bug 227635] Increase MAXPATHLEN value

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Apr 19 15:02:17 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227635

Conrad Meyer <cem at freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cem at freebsd.org

--- Comment #2 from Conrad Meyer <cem at freebsd.org> ---
This shouldn't be done solely for a piece of broken ports software.  This is a
big change, not to mention ABI-breaking.  It can't go to stable/* but the port
needs to work on stable/*, presumably.

The supplied patch also isn't sufficient to fix up the fallout (particularly,
libc glob allocates a bunch of MAXPATHLEN buffers on the stack, which becomes
much worse with a 4kB length).

Here is a little more thorough treatment of the issue:
https://reviews.freebsd.org/D12330 (it also bumps MAXNAMLEN from 255 to 1023 —
long enough to hold 255 arbitrary Unicode characters in UTF-8).

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list