develooper Front page | perl.perl5.porters | Postings from January 2012

[perl #109262] Increase the fallback value of MAXPATHLEN

Thread Next
Father Chrysostomos via RT
January 28, 2012 12:22
[perl #109262] Increase the fallback value of MAXPATHLEN
Message ID:
On Sat Jan 28 06:22:08 2012, dom wrote:
> The attached patch addresses a problem reported as
> <> where, even
> though no limit is defined in GNU/Hurd, MAXPATHLEN is limited to 1024.
> Increasing this to 4096 creates parity between GNU/Hurd and
> GNU/Linux. I'd be interested in opinions about whether this is sensible
> to apply.

I’m not an expert in this area (in fact, I’m not an expert in any OS
interaction), but as an outsider, if you will, I must ask:  What happens
if MAXPATHLEN is set to a number larger than the system supports?  Would
that result in a buffer overrun, or merely an unnecessarily large


Father Chrysostomos

via perlbug:  queue: perl5 status: new

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About