www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/12/24/10:37:56

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f
From: sandmann AT clio DOT rice DOT edu (Charles Sandmann)
Message-Id: <10112241539.AA27356@clio.rice.edu>
Subject: Re: v2.03 refresh issue - passing 3K argument list [was Re: A new bug?]
To: djgpp-workers AT delorie DOT com
Date: Mon, 24 Dec 2001 09:39:43 -0600 (CST)
Cc: snowball3 AT softhome DOT net
In-Reply-To: <3C26F9C5.15660.131637@localhost> from "Mark E." at Dec 24, 2001 09:47:49 AM
X-Mailer: ELM [version 2.5 PL2]
Mime-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> > I think that's the change in glob Mark mentioned: there's a 2000-character
> > buffer there used for globbing, and using quotes makes this a single
> > argument that needs to fit into that buffer.
> 
> And Bash 2.04's dosexec.c has a workaround (search for '2000') to not allow 
> arguments over 2000 bytes long to prevent a crash because of the overflow 
> bug. Bash 2.05 has no such protection since it's meant to be used with libc 
> 2.04. 

So even fixing glob in a refresh would not make this work with bash 2.04?
If so, maybe it's not worth trying to do this in a refresh...

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019