[Pkg-zsh-devel] Bug#418199: Fwd: Re: segfault with exceedingly long path [origin: schaefer at brasslantern.com]

Goswin von Brederlow goswin-v-b at web.de
Mon Jan 20 08:24:42 UTC 2014


On Sat, Jan 18, 2014 at 10:19:39AM +0100, Axel Beckert wrote:
> Control: tag -1 + wontfix
> 
> Hi,
> 
> upstream said, this is an issue which is "unlikely ever to be fixed".
> Marking as such.
> 
> ----- Forwarded message from Bart Schaefer <schaefer at brasslantern.com> -----
> Date: Fri, 17 Jan 2014 17:49:02 -0800
> From: Bart Schaefer <schaefer at brasslantern.com>
> To: zsh-workers at zsh.org
> Subject: Re: segfault with exceedingly long path
> 
> On Jan 18,  1:20am, Axel Beckert wrote:
> }
> } this is a forward of http://bugs.debian.org/418199
> 
> This is a known issue and unlikely ever to be fixed.  Various parts
> of the shell rely on system limits such as PATH_MAX which cannot be
> dynamically changed.  There's a comment with some explanation around
> lines 109-137 of Src/compat.c.
> 
> The upshot is that if you try hard enough you can always create a path
> that will exceed some limit or other.
> ----- End forwarded message -----
> 
> (Online archived at
> http://www.zsh.org/cgi-bin/mla/redirect?WORKERNUMBER=32277)
> 
> 		Regards, Axel

Could you fix that in Debian even if upstream doesn't care? A segfault
is never right. If zsh can't handle the long path then it must check
the length and give an error. Not fixing a segfault is imho
unacceptable.

MfG
	Goswin



More information about the Pkg-zsh-devel mailing list