🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #693

Re: Out-of-bounds pointers

#693
From: Doug McDonald
Date: Wed, 11 Oct 1989 20:18
15 lines
1423 bytes
There are most certainly C implementations where previously valid pointers
can become invalid without the program specifically doing anything.
There is grave doubt that this example can be called a "hosted"
C implementation. Actually, pointers coming from casts of
ordinarily declared (static or automatic) variables, and from
"malloc" will not die without a call to "free". But the operating
system return pointers to other things (in the heap or within
the OS itself) that most certainly WILL become invalid without
notice during some future execution of OS code.

This is known as Microsoft Windows. The manual views using "malloc"
as closely related to child molestation. It claims you are supposed
to use the calls that result in dying pointers.

Doug McDonald
Technical Details
Message-ID: <1989Oct11.201849.7470@ux1.cso.uiuc.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!ux1.cso.uiuc.edu!aries!mcdonald
References: <1009@mtxinu.UUCP> <12570028@hpclwjm.HP.COM> <868@crdos1.crd.ge.COM> <217@bbxsda.UUCP> <1989Oct7.131404.656@jarvis.csri.toronto.edu> <220@bbxsda.UUCP> <1989Oct10.163732.3241@jarvis.csri.toronto.edu> <240@bbxsda.UUCP> <1989Oct11.183328.29178@ux1.cso.uiuc.e

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!ux1.cso.uiuc.edu!aries!mcdonald
From: mcdonald@aries.uiuc.edu (Doug McDonald)
Newsgroups: comp.std.c
Subject: Re: Out-of-bounds pointers
Message-ID: <1989Oct11.201849.7470@ux1.cso.uiuc.edu>
Date: 11 Oct 89 20:18:49 GMT
References: <1009@mtxinu.UUCP> <12570028@hpclwjm.HP.COM> <868@crdos1.crd.ge.COM> <217@bbxsda.UUCP> <1989Oct7.131404.656@jarvis.csri.toronto.edu> <220@bbxsda.UUCP> <1989Oct10.163732.3241@jarvis.csri.toronto.edu> <240@bbxsda.UUCP> <1989Oct11.183328.29178@ux1.cso.uiuc.e
Reply-To: mcdonald@aries.scs.uiuc.edu (Doug McDonald)
Organization: ^
Lines: 15