Re: [Lit.] Buffer overruns
From: Phil Carmody (thefatphil_demunged_at_yahoo.co.uk)
Date: 01/19/05
- Next message: Phil Carmody: "Re: [Lit.] Buffer overruns"
- Previous message: Peter Gutmann: "Re: ARM7 modexp benchmark needed"
- In reply to: newstome_at_comcast.net: "Re: [Lit.] Buffer overruns"
- Next in thread: Bryan Olson: "Re: [Lit.] Buffer overruns"
- Reply: Bryan Olson: "Re: [Lit.] Buffer overruns"
- Reply: newstome_at_comcast.net: "Re: [Lit.] Buffer overruns"
- Reply: David Wagner: "Re: [Lit.] Buffer overruns"
- Reply: Douglas A. Gwyn: "Re: [Lit.] Buffer overruns"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 19 Jan 2005 12:08:53 +0200
newstome@comcast.net writes:
> Phil Carmody <thefatphil_demunged@yahoo.co.uk> wrote:
> > newstome@comcast.net writes:
> >
> >> Douglas A. Gwyn <DAGwyn@null.net> wrote:
> >> >David Wagner wrote:
> >> >> Douglas A. Gwyn wrote:
> >> >> Depends on what you mean by "corrected". Certainly if you are using
> >> >> GC such a bug should never cause the system to run amok. If you are
> >> >> not using GC, such a bug could easily cause the system to run amok.
> >> >
> >> > That's quite wrong. Just because some allocated storage
> >> > has been reclaimed by a garbage collector does not mean
> >> > that a dangling pointer to it becomes safe to dereference.
> >>
> >> Huh? Using a system with garbage collection, it is impossible to such
> >> a "dangling pointer"... If there's a "pointer to it", it will not be
> >> reclaimed.
> >
> > Even with Knuth's XOR-ed doubly-linked lists?
>
> In a language that supports garbage collection, with type-safe
> handling of pointers, you can't do integer operations (like XOR) on
> pointers. In other words, you couldn't implement XORed doubly-linked
> lists, so that's not an issue.
Type-safe and GC are orthogonal issues. GC was mentioned by each and every
poster quoted above, but type-safeness wasn't. I thus assumed that the
pertinant language feature was GC, not type-safeness. Weird, eh?
Phil
-- The answer to life's mystery is simple and direct: Sex and death. -- Ian 'Lemmy' Kilminster.
- Next message: Phil Carmody: "Re: [Lit.] Buffer overruns"
- Previous message: Peter Gutmann: "Re: ARM7 modexp benchmark needed"
- In reply to: newstome_at_comcast.net: "Re: [Lit.] Buffer overruns"
- Next in thread: Bryan Olson: "Re: [Lit.] Buffer overruns"
- Reply: Bryan Olson: "Re: [Lit.] Buffer overruns"
- Reply: newstome_at_comcast.net: "Re: [Lit.] Buffer overruns"
- Reply: David Wagner: "Re: [Lit.] Buffer overruns"
- Reply: Douglas A. Gwyn: "Re: [Lit.] Buffer overruns"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|