delorie.com/archives/browse.cgi | search |
Delivered-To: | listarch-cygwin-developers AT sourceware DOT cygnus DOT com |
From: | Christopher Faylor <cgf AT cygnus DOT com> |
Message-ID: | <19990201142232.A27502@cygnus.com> |
Date: | Mon, 1 Feb 1999 14:22:32 -0500 |
To: | DJ Delorie <dj AT delorie DOT com> |
Cc: | cygwin32-developers AT cygnus DOT com |
Subject: | Re: tiny patch for execvp [Re: Problems with winsup-981223] |
References: | <19981227212632 DOT A24196 AT cygnus DOT com> <199901300438 DOT UAA19176 AT cygnus DOT com> <19990130010435 DOT O10431 AT cygnus DOT com> <199901302309 DOT SAA00319 AT envy DOT delorie DOT com> <19990131001707 DOT A19124 AT cygnus DOT com> <36b4f822 DOT 165663739 AT mail DOT goodnet DOT com> <19990201103846 DOT A26507 AT cygnus DOT com> <199902011909 DOT OAA29894 AT envy DOT delorie DOT com> |
Mime-Version: | 1.0 |
X-Mailer: | Mutt 0.93i |
In-Reply-To: | <199902011909.OAA29894@envy.delorie.com>; from DJ Delorie on Mon, Feb 01, 1999 at 02:09:58PM -0500 |
Sender: | owner-cygwin32-developers AT cygnus DOT com |
On Mon, Feb 01, 1999 at 02:09:58PM -0500, DJ Delorie wrote: >> If so, does that mean that this code would do something funky: >> >> char *sys_errlist[]; >> main() >> { >> puts(sys_errlist[1]); >> } > >Yes. sys_errlist would be the address of a chunk of i386 opcodes, not >the address of the table of pointers to strings. So, I think that I would vastly prefer the link time error to a runtime core dump. I've modified libiberty and will be testing this today. -chris
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |