From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29414 invoked by alias); 19 Jan 2014 19:16:29 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 32290 Received: (qmail 26986 invoked from network); 19 Jan 2014 19:16:23 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-Originating-IP: [86.6.157.246] X-Spam: 0 X-Authority: v=2.1 cv=DpDY+QP+ c=1 sm=1 tr=0 a=BvYiZ/UW0Fmn8Wufq9dPrg==:117 a=BvYiZ/UW0Fmn8Wufq9dPrg==:17 a=NLZqzBF-AAAA:8 a=_iEnw1ugHFQA:10 a=uObrxnre4hsA:10 a=kj9zAlcOel0A:10 a=TUCWzBT1FngA:10 a=q2GGsy2AAAAA:8 a=xNf9USuDAAAA:8 a=yBHioTJbDiWhhVT24l8A:9 a=CjuIK1q_8ugA:10 a=I6wTmPyJxzYA:10 Date: Sun, 19 Jan 2014 19:10:48 +0000 From: Peter Stephenson To: zsh-workers@zsh.org Subject: Re: segfault with exceedingly long path Message-ID: <20140119191048.018a051a@pws-pc.ntlworld.com> In-Reply-To: <140117174902.ZM7366@torch.brasslantern.com> References: <20140118002033.GY27889@sym.noone.org> <140117174902.ZM7366@torch.brasslantern.com> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.7; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Fri, 17 Jan 2014 17:49:02 -0800 Bart Schaefer wrote: > 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. I'm still in favour of reducing dependency on PATH_MAX wherever possible, since any arbitrary limit we don't actually need we don't actually want, but with 81 occurences in source and header files this isn't a battle that's going to yield any instant gratification. pws