🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #6090

Re: JRComm, VLT, Handshake

#6090
From: Andy Finkel
Date: Fri, 26 Oct 1990 16:14
31 lines
1771 bytes
In article <458@faatcrl.UUCP> jprad@faatcrl.UUCP (Jack Radigan) writes:
>jesup@cbmvax.commodore.com (Randell Jesup) writes:
>
>>	A note for all programmers out there: there is NO guarantee that
>>location 0 will be 0.  References to location 0 are bugs, and enforcer will
>>trap and report them.  Memmung stuffs a nasty value into location 0 to try
>>to break incorrect programs.
>
>Would've been nice if this was common knowledge *before* the 2091 hit the
>streets.  Alot of programs got bit by this problem, and more than a few
>were written by lawful coders too.
>
>  -jack-


If your program breaks when location 0 is non NULL this means
you have an unitialized pointer somewhere in your program, and
are using memory you did not allocate (ie location 0)

I would have hoped that this would have been common knowledge
amoung programmers long before the 2091 appeared.

			andy
-- 
andy finkel		{uunet|rutgers|amiga}!cbmvax!andy
Commodore-Amiga, Inc.

"If your ancestors were alive today, what they'd probably be saying is:
 'Where am I and why is it so dark ?' "
Any expressed opinions are mine; but feel free to share.
I disclaim all responsibilities, all shapes, all sizes, all colors.
Technical Details
Message-ID: <15418@cbmvax.commodore.com>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!samsung!zaphod.mps.ohio-state.edu!wuarchive!psuvax1!rutgers!cbmvax!andy
References: <1990Oct11.235942.2141@caen.engin.umich.edu> <9811@uhccux.uhcc.Hawaii.Edu> <15328@cbmvax.commodore.com> <458@faatcrl.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!samsung!zaphod.mps.ohio-state.edu!wuarchive!psuvax1!rutgers!cbmvax!andy
From: andy@cbmvax.commodore.com (Andy Finkel)
Newsgroups: comp.sys.amiga.tech
Subject: Re: JRComm, VLT, Handshake
Message-ID: <15418@cbmvax.commodore.com>
Date: 26 Oct 90 16:14:09 GMT
References: <1990Oct11.235942.2141@caen.engin.umich.edu> <9811@uhccux.uhcc.Hawaii.Edu> <15328@cbmvax.commodore.com> <458@faatcrl.UUCP>
Reply-To: andy@cbmvax.commodore.com (Andy Finkel)
Distribution: na
Organization: Commodore, West Chester, PA
Lines: 31