delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/07/07/14:18:22

Date: Sat, 07 Jul 2001 21:15:33 +0300
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: "Mark E." <snowball3 AT bigfoot DOT com>
Message-Id: <4331-Sat07Jul2001211533+0300-eliz@is.elta.co.il>
X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9
CC: djgpp-workers AT delorie DOT com
In-reply-to: <3B46FC1B.14992.4A1DB3@localhost> (snowball3@bigfoot.com)
Subject: Re: dosexec.c changes
References: <3B45C9F9 DOT 1814 DOT A88009 AT localhost> (snowball3 AT bigfoot DOT com) <3B46FC1B DOT 14992 DOT 4A1DB3 AT localhost>
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

> From: "Mark E." <snowball3 AT bigfoot DOT com>
> Date: Sat, 7 Jul 2001 12:10:03 -0400
> 
> > Shouldn't we add another test like this after an extension is
> > appended?
> 
> I have no idea. If you think it's needed, I'll add it.

On second thought, I think you could simply skip each extension which
makes the file name longer than FILENAME_MAX: any library function
which passes such a name to DOS will either fail or blow up.

- Raw text -


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