comp.lang.ada
 help / color / mirror / Atom feed
From: Larry Hazel <lhazel@mindspring.com>
Subject: Re: Help: my list adt is broken
Date: Sun, 11 Feb 2001 17:01:05 -0600
Date: 2001-02-11T23:00:08+00:00	[thread overview]
Message-ID: <3A8719B1.42E2A27A@mindspring.com> (raw)
In-Reply-To: 79Dh6.10732$zz4.264993@news2-win.server.ntlworld.com

You didn't show the code that is extracting the list data for printing.  My
guess is it follows the links until it finds a null pointer and doesn't check
size.  After you delete the tail, you may need to store a null in the new tail's
next link.  The deallocated old tail data is probably still in memory.

Larry

I tried to quote the original post and got an error message about too much
included text.



  reply	other threads:[~2001-02-11 23:01 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-11 21:04 Help: my list adt is broken chris.danx
2001-02-11 23:01 ` Larry Hazel [this message]
2001-02-12  0:29 ` tmoran
2001-02-12  0:29 ` Chad R. Meiners
2001-02-12 12:17 ` chris.danx
2001-02-12 12:50 ` chris.danx
2001-02-12 14:23   ` John English
2001-02-12 15:10     ` chris.danx
2001-02-12 17:33 ` chris.danx
2001-02-12 20:00   ` tmoran
  -- strict thread matches above, loose matches on Subject: below --
2001-02-11 21:05 chris.danx
2001-02-11 21:08 ` chris.danx
2001-02-12 14:55 ` Ted Dennison
2001-02-12 21:14 schwarza
2001-02-12 23:09 ` chris.danx
2001-02-13  1:42   ` Jeffrey Carter
2001-02-13 15:35 schwarza
2001-02-14 11:47 ` John English
replies disabled

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