delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/07/16/09:32:23

Date: Sun, 16 Jul 2000 16:30:23 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Laurynas Biveinis <lauras AT softhome DOT net>
cc: "Mark E." <snowball3 AT bigfoot DOT com>, djgpp-workers AT delorie DOT com
Subject: Re: Bash 2.04 beta 5 released
In-Reply-To: <39719647.855817A8@softhome.net>
Message-ID: <Pine.SUN.3.91.1000716162659.23175A-100000@is>
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

On Sun, 16 Jul 2000, Laurynas Biveinis wrote:

> +static void dummy(void)
> +{
> +  __dosexec_find_on_path (0,0,0);
> +  __libc_termios_init();
> +}
> +

This had better not be called, because __dosexec_find_on_path will bomb 
(on DOS at least) if called with NULL first and last arguments: it 
dereferences both of them right away.

If this function is _not_ called, then simply adding it can only cause 
the problem disappear if some other code corrupts memory in some weird 
way.

Or did I miss something?

- Raw text -


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