From owner-ml  Wed Nov 12 12:37:37 1997
Received: (from majordom@localhost)
	by qoole.com (8.8.5/8.8.5) id MAA09177
	for ml-outgoing; Wed, 12 Nov 1997 12:37:37 -0800 (PST)
X-Authentication-Warning: qoole.com: majordom set sender to owner-qoole@qoole.com using -f
Received: from esinet1.esinet.net (root@esinet1.esinet.net [208.197.151.2])
	by qoole.com (8.8.5/8.8.5) with ESMTP id MAA09173
	for <ml@qoole.com>; Wed, 12 Nov 1997 12:37:29 -0800 (PST)
Received: from fantasia.stormhaven.org (cepler@fantasia.stormhaven.org [208.197.151.10])
          by esinet1.esinet.net (8.8.7/ESI-8.8.X-A) with SMTP
	  id PAA03368 for <ml@qoole.com>; Wed, 12 Nov 1997 15:32:57 -0500 (EST)
Date: Wed, 12 Nov 1997 15:32:56 -0500 (EST)
From: "Chris A. Epler" <cepler@esinet.net>
X-Sender: cepler@fantasia.stormhaven.org
To: ml@qoole.com
Subject: Re: PAGE FAULTS
In-Reply-To: <346A065C.C3FEE6DF@idt.net>
Message-ID: <Pine.LNX.3.96.971112153131.23603A-100000@fantasia.stormhaven.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-qoole@qoole.com
Precedence: bulk
Reply-To: ml@qoole.com
Status: RO

On Wed, 12 Nov 1997, Marc Anthony DeLegge wrote:

> technically .. PFs are generally caused when a peice of code tries to
> access a memory address that is invalid.... meaning that its not part of
> the allocated memory for the program... things that cause this are bad 
> data files (BSPs) that say that 'oh yeah.. info for brush #214 can found
> at address 0xf45a ... and then Quake looks for it there and discovers
> that address f45a actually belongs to notepad or Explorer...

With proper coding everything will be checked to be within bounds and should
not experience these errors.  The file itself (the BSP or MAP) only has
coordinates etc, the program is reading these in and parsing them.  When
it's reading them in it should have proper checking to prevent these
problems.

------------------------------------------------------------------------
Chris A. Epler - KC6ZOL - ESInet System Admin - (804) 974-7308
Do not send Unsolicited Commercial E-Mail (UCE), legal action may be taken.
PGP KeyID: 1024/6BBCAFE5 1997/04/14 Chris A. Epler <cepler@esinet.net>


