www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/13/03:46:02

Date: Thu, 13 Aug 1998 10:44:28 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Endlisnis <s257m AT unb DOT ca>
cc: djgpp AT delorie DOT com
Subject: Re: pointers and errors make cephaler go crazy
In-Reply-To: <35D2574C.C3A13863@unb.ca>
Message-ID: <Pine.SUN.3.91.980813104409.2812F-100000@is>
MIME-Version: 1.0

On Thu, 13 Aug 1998, Endlisnis wrote:

>     But, using array's instead of pointers shouldn't produce SIGILL.

There's nothing an ingenious bug couldn't produce ;-).

> Some things that could cause SIGILL would be screwing around with
> the stack in a function

Exactly.  And wrong usage of arrays could easily screw up the return
address on the stack (e.g., by writing beyond the array end).

- Raw text -


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