comp.lang.ada
 help / color / mirror / Atom feed
From: tmoran@bix.com
Subject: Re: 'Read for pointers
Date: 2000/07/27
Date: 2000-07-27T00:00:00+00:00	[thread overview]
Message-ID: <xRLf5.61$M35.39742@news.pacbell.net> (raw)
In-Reply-To: krKf5.218$wE4.49928@nnrp3.sbc.net

>I'm not sure I see your point, given the context.
  The "out" parameter is not set to null so if the procedure has a bug
so that it isn't set, it will retain its previous value.  Any
uninitialized variable bug can be hard to find.  But a pointer is
especially hard, and in fact most pointers are automatically
initialized to null, which helps a lot.  Here the "out" parameter
pointer in fact points to an internally correct data structure, just
the wrong one, or one that might have been deallocated.  I think such
a bug might take a while to track down.




  reply	other threads:[~2000-07-27  0:00 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-07-26  0:00 'Read for pointers Ted Dennison
2000-07-26  0:00 ` Pat Rogers
2000-07-26  0:00   ` tmoran
2000-07-26  0:00     ` Pat Rogers
2000-07-27  0:00       ` tmoran [this message]
2000-07-26  0:00         ` Pat Rogers
2000-07-27  0:00   ` Ted Dennison
2000-07-27  0:00     ` Pat Rogers
2000-07-27  0:00       ` Ted Dennison
2000-07-27  0:00         ` Pat Rogers
2000-07-26  0:00 ` Pat Rogers
2000-07-28  0:00   ` Stephen Leake
2000-07-28  0:00     ` tmoran
2000-07-29  0:00     ` Pat Rogers
2000-07-31  0:00       ` Stephen Leake
2000-07-31  0:00         ` Robert A Duff
2000-07-31  0:00         ` Pat Rogers
2000-07-28  0:00 ` Stephen Leake
2000-07-31  0:00   ` Ted Dennison
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox