Out-of-bounds pointers

Michael Meissner meissner at dg-rtp.dg.com
Sun Oct 15 02:45:00 AEST 1989


In article <240 at bbxsda.UUCP> scott at bbxsda.UUCP (Scott Amspoker) writes:

>  Since free() is probably the only possible way for a *valid* pointer to
>  suddenly become *invalid* there are some interesting possibilities.

Another possible way for a *valid* pointer to suddenly become
*invalid* is if the pointer points to automatic storage and you exit
the function creating the storage with either a return or a longjmp.
--

Michael Meissner, Data General.				If compiles where much
Uucp:		...!mcnc!rti!xyzzy!meissner		faster, when would we
Internet:	meissner at dg-rtp.DG.COM			have time for netnews?



More information about the Comp.std.c mailing list